Home
last modified time | relevance | path

Searched refs:bl (Results 1 – 25 of 25) sorted by relevance

/openssl/crypto/cmac/
H A Dcmac.c95 int bl; in CMAC_CTX_copy() local
103 memcpy(out->k1, in->k1, bl); in CMAC_CTX_copy()
104 memcpy(out->k2, in->k2, bl); in CMAC_CTX_copy()
146 int bl; in ossl_cmac_init() local
182 int bl; in CMAC_Update() local
222 dlen -= bl; in CMAC_Update()
223 data += bl; in CMAC_Update()
238 memcpy(ctx->tbl, &buf[(cipher_blocks - 1) * bl], bl); in CMAC_Update()
250 int i, bl, lb; in CMAC_Final() local
262 if (lb == bl) { in CMAC_Final()
[all …]
/openssl/crypto/asn1/
H A Da_object.c58 BIGNUM *bl = NULL; in a2d_ASN1_OBJECT() local
103 if (bl == NULL) in a2d_ASN1_OBJECT()
104 bl = BN_new(); in a2d_ASN1_OBJECT()
105 if (bl == NULL || !BN_set_word(bl, l)) in a2d_ASN1_OBJECT()
109 if (!BN_mul_word(bl, 10L) in a2d_ASN1_OBJECT()
110 || !BN_add_word(bl, c - '0')) in a2d_ASN1_OBJECT()
121 if (!BN_add_word(bl, first * 40)) in a2d_ASN1_OBJECT()
129 blsize = BN_num_bits(bl); in a2d_ASN1_OBJECT()
140 BN_ULONG t = BN_div_word(bl, 0x80L); in a2d_ASN1_OBJECT()
168 BN_free(bl); in a2d_ASN1_OBJECT()
[all …]
/openssl/crypto/bn/
H A Dbn_mul.c510 int top, al, bl; in bn_mul_fixed_top() local
525 bl = b->top; in bn_mul_fixed_top()
527 if ((al == 0) || (bl == 0)) { in bn_mul_fixed_top()
531 top = al + bl; in bn_mul_fixed_top()
541 i = al - bl; in bn_mul_fixed_top()
564 if ((al >= BN_MULL_SIZE_NORMAL) && (bl >= BN_MULL_SIZE_NORMAL)) { in bn_mul_fixed_top()
574 j = BN_num_bits_word((BN_ULONG)bl); in bn_mul_fixed_top()
577 assert(j <= al || j <= bl); in bn_mul_fixed_top()
582 if (al > j || bl > j) { in bn_mul_fixed_top()
588 j, al - j, bl - j, t->d); in bn_mul_fixed_top()
[all …]
H A Dbn_asm.c107 BN_ULONG bl, bh; in bn_mul_add_words() local
113 bl = LBITS(w); in bn_mul_add_words()
118 mul_add(rp[0], ap[0], bl, bh, c); in bn_mul_add_words()
119 mul_add(rp[1], ap[1], bl, bh, c); in bn_mul_add_words()
120 mul_add(rp[2], ap[2], bl, bh, c); in bn_mul_add_words()
121 mul_add(rp[3], ap[3], bl, bh, c); in bn_mul_add_words()
128 mul_add(rp[0], ap[0], bl, bh, c); in bn_mul_add_words()
139 BN_ULONG bl, bh; in bn_mul_words() local
145 bl = LBITS(w); in bn_mul_words()
150 mul(rp[0], ap[0], bl, bh, carry); in bn_mul_words()
[all …]
H A Dbn_local.h574 # define mul64(l,h,bl,bh) \ argument
581 lt=(bl)*(lt); \
582 m1=(bl)*(ht); \
609 # define mul_add(r,a,bl,bh,c) { \ argument
615 mul64(l,h,(bl),(bh)); \
625 # define mul(r,a,bl,bh,c) { \ argument
631 mul64(l,h,(bl),(bh)); \
/openssl/crypto/objects/
H A Dobj_dat.c471 BIGNUM *bl; in OBJ_obj2txt() local
499 bl = NULL; in OBJ_obj2txt()
530 if (!BN_add_word(bl, c & 0x7f)) in OBJ_obj2txt()
538 if (bl == NULL && (bl = BN_new()) == NULL) in OBJ_obj2txt()
540 if (!BN_set_word(bl, l)) in OBJ_obj2txt()
545 if (!BN_lshift(bl, bl, 7)) in OBJ_obj2txt()
557 if (!BN_sub_word(bl, 80)) in OBJ_obj2txt()
576 bndec = BN_bn2dec(bl); in OBJ_obj2txt()
616 BN_free(bl); in OBJ_obj2txt()
620 BN_free(bl); in OBJ_obj2txt()
/openssl/providers/implementations/ciphers/
H A Dciphercommon_hw.c32 size_t i, bl = dat->blocksize; in ossl_cipher_hw_generic_ecb() local
34 if (len < bl) in ossl_cipher_hw_generic_ecb()
41 for (i = 0, len -= bl; i <= len; i += bl) in ossl_cipher_hw_generic_ecb()
H A Dcipher_des_hw.c54 size_t i, bl = ctx->blocksize; in cipher_hw_des_ecb_cipher() local
57 if (len < bl) in cipher_hw_des_ecb_cipher()
59 for (i = 0, len -= bl; i <= len; i += bl) in cipher_hw_des_ecb_cipher()
/openssl/crypto/aes/asm/
H A Dbsaes-armv8.pl1070 bl _bsaes_decrypt8
1122 bl _bsaes_decrypt8
1149 bl _bsaes_decrypt8
1172 bl _bsaes_decrypt8
1192 bl _bsaes_decrypt8
1209 bl _bsaes_decrypt8
1239 bl AES_decrypt
1439 bl AES_encrypt
1509 bl AES_encrypt
1842 bl AES_encrypt
[all …]
/openssl/crypto/evp/
H A Devp_enc.c614 if (bl - i > inl) { in evp_EncryptDecryptUpdate()
620 j = bl - i; in evp_EncryptDecryptUpdate()
629 if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) { in evp_EncryptDecryptUpdate()
638 out += bl; in evp_EncryptDecryptUpdate()
639 *outl = bl; in evp_EncryptDecryptUpdate()
643 i = inl & (bl - 1); in evp_EncryptDecryptUpdate()
723 unsigned int i, b, bl; in EVP_EncryptFinal_ex() local
785 bl = ctx->buf_len; in EVP_EncryptFinal_ex()
787 if (bl) { in EVP_EncryptFinal_ex()
795 n = b - bl; in EVP_EncryptFinal_ex()
[all …]
H A De_sm4.c172 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in sm4_ecb_cipher() local
176 if (len < bl) in sm4_ecb_cipher()
183 for (i = 0, len -= bl; i <= len; i += bl) in sm4_ecb_cipher()
H A De_camellia.c239 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in camellia_ecb_cipher() local
243 if (len < bl) in camellia_ecb_cipher()
246 for (i = 0, len -= bl; i <= len; i += bl) in camellia_ecb_cipher()
H A De_aes.c193 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in aesni_ecb_cipher() local
195 if (len < bl) in aesni_ecb_cipher()
2524 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in aes_ecb_cipher() local
2528 if (len < bl) in aes_ecb_cipher()
2531 for (i = 0, len -= bl; i <= len; i += bl) in aes_ecb_cipher()
/openssl/providers/implementations/include/prov/
H A Dciphercommon.h266 size_t i, bl = ctx->blocksize; \
269 if (len < bl) \
271 for (i = 0, len -= bl; i <= len; i += bl) \
/openssl/crypto/whrlpool/asm/
H A Dwp-x86_64.pl133 movz %bl,%ecx
140 movz %bl,%ecx
167 movz %bl,%ecx
174 movz %bl,%ecx
/openssl/test/certs/
H A Drootkey.pem9 bl+wY84aV3GKJOS2InfYOcIy340UU5QHvxOq/kwwRVV/uAOZ8rqAFmZY9djOnhdv
/openssl/demos/guide/
H A Drootkey.pem9 bl+wY84aV3GKJOS2InfYOcIy340UU5QHvxOq/kwwRVV/uAOZ8rqAFmZY9djOnhdv
/openssl/crypto/bn/asm/
H A Drsaz-4k-avx512.pl341 shl \$4,%bl
342 or %bl,%cl
349 or %al,%bl
355 adcb %bl,%r10b
361 xor %bl,%r10b
H A Drsaz-2k-avx512.pl282 or %cl, %bl
285 adc %bl, %r12b
289 xor %bl, %r12b
H A Drsaz-3k-avx512.pl318 shl \$4,%bl
319 or %bl,%cl
/openssl/test/recipes/80-test_cmp_http_data/Mock/
H A DoldWithOld.pem9 bl+wY84aV3GKJOS2InfYOcIy340UU5QHvxOq/kwwRVV/uAOZ8rqAFmZY9djOnhdv
/openssl/crypto/
H A Dx86_64cpuid.pl131 cmp %r10b,%bl
180 cmp \$1,%bl # see if cache is shared
/openssl/include/crypto/
H A Devp.h362 size_t i, bl; \
363 bl = EVP_CIPHER_CTX_get0_cipher(ctx)->block_size; \
364 if (inl < bl) return 1;\
365 inl -= bl; \
366 for (i=0; i <= inl; i+=bl)
/openssl/engines/asm/
H A De_padlock-x86_64.pl314 setz %bl # !inp_misaligned
/openssl/crypto/des/asm/
H A Ddes_enc.m41403 bl .ncbc.enc.seven.or.less
1427 bl .ncbc.enc.next.block_fp
1526 bl .ncbc.dec.seven.or.less
1599 bl .ede3.enc.seven.or.less
1629 bl .ede3.enc.next.block_fp
1735 bl .ede3.dec.seven.or.less

Completed in 141 milliseconds