Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 19 of 19) sorted by relevance

/crypto/sm4/asm/
A Dsm4-armv8.pl501 my ($ctr)=("w5");
528 add $ctr,$ctr,#1
530 add $ctr,$ctr,#1
532 add $ctr,$ctr,#1
541 add $ctr,$ctr,#1
543 add $ctr,$ctr,#1
545 add $ctr,$ctr,#1
547 add $ctr,$ctr,#1
573 add $ctr,$ctr,#1
591 add $ctr,$ctr,#1
[all …]
A Dvpsm4-armv8.pl1065 my ($ctr)=("w5");
1108 add $ctr,$ctr,#1
1110 add $ctr,$ctr,#1
1112 add $ctr,$ctr,#1
1114 add $ctr,$ctr,#1
1132 add $ctr,$ctr,#1
1134 add $ctr,$ctr,#1
1136 add $ctr,$ctr,#1
1138 add $ctr,$ctr,#1
1175 add $ctr,$ctr,#1
[all …]
A Dvpsm4_ex-armv8.pl1051 my ($ctr)=("w5");
1094 add $ctr,$ctr,#1
1096 add $ctr,$ctr,#1
1098 add $ctr,$ctr,#1
1100 add $ctr,$ctr,#1
1118 add $ctr,$ctr,#1
1120 add $ctr,$ctr,#1
1122 add $ctr,$ctr,#1
1124 add $ctr,$ctr,#1
1161 add $ctr,$ctr,#1
[all …]
/crypto/modes/
A Dgcm128.c635 unsigned int ctr; in CRYPTO_gcm128_setiv() local
648 ctr = 1; in CRYPTO_gcm128_setiv()
707 ++ctr; in CRYPTO_gcm128_setiv()
918 ++ctr; in CRYPTO_gcm128_encrypt()
937 ++ctr; in CRYPTO_gcm128_encrypt()
968 ++ctr; in CRYPTO_gcm128_encrypt()
1143 ++ctr; in CRYPTO_gcm128_decrypt()
1165 ++ctr; in CRYPTO_gcm128_decrypt()
1199 ++ctr; in CRYPTO_gcm128_decrypt()
1360 ++ctr; in CRYPTO_gcm128_encrypt_ctr32()
[all …]
A Dsiv128.c144 EVP_CIPHER *cbc, EVP_CIPHER *ctr, in ossl_siv128_new() argument
151 ret = ossl_siv128_init(ctx, key, klen, cbc, ctr, libctx, propq); in ossl_siv128_new()
164 const EVP_CIPHER *cbc, const EVP_CIPHER *ctr, in ossl_siv128_init() argument
184 if (key == NULL || cbc == NULL || ctr == NULL) in ossl_siv128_init()
199 || !EVP_EncryptInit_ex(ctx->cipher_ctx, ctr, NULL, key + klen, NULL) in ossl_siv128_init()
/crypto/evp/
A De_chacha20_poly1305.c225 ctr = buf + CHACHA_BLK_SIZE; in chacha20_poly1305_tls_cipher()
243 ctr = xor128_encrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
245 ctr = xor128_decrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
249 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
268 out[i] = ctr[i] ^= in[i]; in chacha20_poly1305_tls_cipher()
273 out[i] = ctr[i] ^ c; in chacha20_poly1305_tls_cipher()
274 ctr[i] = c; in chacha20_poly1305_tls_cipher()
282 memset(ctr + i, 0, tail); in chacha20_poly1305_tls_cipher()
283 ctr += i + tail; in chacha20_poly1305_tls_cipher()
295 tohash = ctr; in chacha20_poly1305_tls_cipher()
[all …]
A De_sm4.c32 ctr128_f ctr; member
54 BLOCK_CIPHER_generic(nid,1,16,ctr,ctr,CTR,flags)
113 dat->stream.ctr = (ctr128_f) HWSM4_ctr32_encrypt_blocks; in sm4_init_key()
129 dat->stream.ctr = (ctr128_f) vpsm4_ctr32_encrypt_blocks; in sm4_init_key()
212 if (dat->stream.ctr) in sm4_ctr_cipher()
216 &num, dat->stream.ctr); in sm4_ctr_cipher()
A De_camellia.c37 ctr128_f ctr; member
88 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt; in cmll_t4_init_key()
97 dat->stream.ctr = (ctr128_f) cmll256_t4_ctr32_encrypt; in cmll_t4_init_key()
189 BLOCK_CIPHER_generic(nid, keylen, 1, 16, ctr, ctr, CTR, flags)
334 if (dat->stream.ctr) in camellia_ctr_cipher()
338 dat->stream.ctr); in camellia_ctr_cipher()
A De_aes.c40 ctr128_f ctr; member
59 ctr128_f ctr; member
2401 BLOCK_CIPHER_generic(nid,keylen,1,16,ctr,ctr,CTR,flags)
2621 if (dat->stream.ctr) in aes_ctr_cipher()
2812 gctx->ctr = NULL; in aes_gcm_init_key()
2831 gctx->ctr = NULL; in aes_gcm_init_key()
2843 gctx->ctr = NULL; in aes_gcm_init_key()
2916 if (gctx->ctr) { in aes_gcm_tls_cipher()
2957 if (gctx->ctr) { in aes_gcm_tls_cipher()
3070 if (gctx->ctr) { in aes_gcm_cipher()
[all …]
A De_aria.c193 BLOCK_CIPHER_generic(NID_aria, 128, 1, 16, ctr, ctr, CTR, 0)
194 BLOCK_CIPHER_generic(NID_aria, 192, 1, 16, ctr, ctr, CTR, 0)
195 BLOCK_CIPHER_generic(NID_aria, 256, 1, 16, ctr, ctr, CTR, 0)
/crypto/aes/asm/
A Daesv8-armx.pl1824 rev $ctr, $ctr
1868 add $ctr,$ctr,#6
2180 add $ctr,$ctr,#3
2184 add $ctr,$ctr,#3
2340 add $ctr,$ctr,#3
2389 add $ctr,$ctr,#3
2575 rev $ctr, $ctr
2617 add $ctr,$ctr,#2
2756 add $ctr,$ctr,#5
2761 sub $ctr,$ctr,#5
[all …]
A Dbsaes-armv7.pl1390 my ($inp,$out,$len,$key, $ctr,$fp,$rounds)=(map("r$_",(0..3,8..10)));
1406 ldr $ctr, [ip] @ ctr is 1st arg on the stack
1424 vld1.8 {@XMM[0]}, [$ctr] @ load counter
1426 mov $ctr, #:lower16:(.LREVM0SR-.LM0)
1427 add $ctr, $const, $ctr
1429 add $ctr, $const, #.LREVM0SR-.LM0 @ borrow $ctr
1448 vld1.8 {@XMM[0]}, [$ctr] @ load counter
1449 add $ctr, $const, #.LREVM0SR-.LM0 @ borrow $ctr
1484 vldmia $ctr, {@XMM[8]} @ .LREVM0SR
1489 sub $const, $ctr, $const
[all …]
A Daesni-x86_64.pl1266 bswap $ctr
1276 lea 1($ctr),%rax
1277 lea 2($ctr),%rdx
1283 lea 3($ctr),%rax
1288 lea 4($ctr),%r10
1295 lea 5($ctr),%r9
1298 lea 6($ctr),%r10
1304 lea 7($ctr),%r9
1342 mov $ctr,%eax
1346 lea 1($ctr),%eax
[all …]
/crypto/chacha/asm/
A Dchacha-armv8.pl215 mov $ctr,#10
218 sub $ctr,$ctr,#1
223 cbnz $ctr,.Loop
303 add $ctr,sp,$len
375 mov $ctr,sp
545 mov $ctr,#10
548 sub $ctr,$ctr,#1
981 mov $ctr,#5
985 sub $ctr,$ctr,#1
1097 mov $ctr,#5
[all …]
A Dchacha-ppc.pl189 lwz @d[0],0($ctr) # load counter
190 lwz @d[1],4($ctr)
191 lwz @d[2],8($ctr)
192 lwz @d[3],12($ctr)
516 lvx @K[3],0,$ctr # load counter
518 lvx @D[1],@x[5],$ctr
530 lwz @d[0],0($ctr) # load counter to GPR
531 lwz @d[1],4($ctr)
533 lwz @d[2],8($ctr)
535 lwz @d[3],12($ctr)
[all …]
A Dchacha-armv8-sve.pl34 my ($outp,$inp,$len,$key,$ctr) = map("x$_",(0..4));
790 ldp @K[6],@K[7],[$ctr]
810 str @KL[6],[$ctr]
A Dchachap10-ppc.pl88 my ($out,$inp,$len,$key,$ctr) = map("r$_",(3..7));
206 lvx_4w @K[3],0,$ctr # load counter
703 lvx_4w @K[3],0,$ctr # load counter
/crypto/objects/
A Dobjects.txt1070 : AES-128-CTR : aes-128-ctr
1071 : AES-192-CTR : aes-192-ctr
1072 : AES-256-CTR : aes-256-ctr
1442 : gost89-ctr
1529 id-tc26-cipher-gostr3412-2015-magma 1 : magma-ctr-acpkm
1580 : kuznyechik-ctr
1588 : magma-ctr
1615 camellia 9 : CAMELLIA-128-CTR : camellia-128-ctr
1625 camellia 29 : CAMELLIA-192-CTR : camellia-192-ctr
1635 camellia 49 : CAMELLIA-256-CTR : camellia-256-ctr
[all …]
/crypto/err/
A Dopenssl.txt1172 PROV_R_REQUIRE_CTR_MODE_CIPHER:206:require ctr mode cipher
1601 SSL_R_SEQUENCE_CTR_WRAPPED:327:sequence ctr wrapped

Completed in 71 milliseconds