/openssl/crypto/cmac/ |
H A D | cmac.c | 95 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() 136 int bl; in CMAC_Init() local 166 int bl; in CMAC_Update() local 196 dlen -= bl; in CMAC_Update() 197 data += bl; in CMAC_Update() 208 int i, bl, lb; in CMAC_Final() local 215 *poutlen = (size_t)bl; in CMAC_Final() 220 if (lb == bl) { in CMAC_Final() [all …]
|
/openssl/crypto/asn1/ |
H A D | a_object.c | 60 BIGNUM *bl = NULL; in a2d_ASN1_OBJECT() local 105 if (bl == NULL) in a2d_ASN1_OBJECT() 106 bl = BN_new(); in a2d_ASN1_OBJECT() 107 if (bl == NULL || !BN_set_word(bl, l)) in a2d_ASN1_OBJECT() 111 if (!BN_mul_word(bl, 10L) in a2d_ASN1_OBJECT() 112 || !BN_add_word(bl, c - '0')) in a2d_ASN1_OBJECT() 123 if (!BN_add_word(bl, first * 40)) in a2d_ASN1_OBJECT() 131 blsize = BN_num_bits(bl); in a2d_ASN1_OBJECT() 144 BN_ULONG t = BN_div_word(bl, 0x80L); in a2d_ASN1_OBJECT() 172 BN_free(bl); in a2d_ASN1_OBJECT() [all …]
|
/openssl/crypto/objects/ |
H A D | obj_dat.c | 443 BIGNUM *bl; in OBJ_obj2txt() local 471 bl = NULL; in OBJ_obj2txt() 483 if (!BN_add_word(bl, c & 0x7f)) in OBJ_obj2txt() 491 if (bl == NULL && (bl = BN_new()) == NULL) in OBJ_obj2txt() 493 if (!BN_set_word(bl, l)) in OBJ_obj2txt() 498 if (!BN_lshift(bl, bl, 7)) in OBJ_obj2txt() 510 if (!BN_sub_word(bl, 80)) in OBJ_obj2txt() 529 bndec = BN_bn2dec(bl); in OBJ_obj2txt() 569 BN_free(bl); in OBJ_obj2txt() 573 BN_free(bl); in OBJ_obj2txt()
|
/openssl/crypto/bn/ |
H A D | bn_mul.c | 510 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 D | bn_asm.c | 107 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 D | bn_local.h | 572 # define mul64(l,h,bl,bh) \ argument 579 lt=(bl)*(lt); \ 580 m1=(bl)*(ht); \ 607 # define mul_add(r,a,bl,bh,c) { \ argument 613 mul64(l,h,(bl),(bh)); \ 623 # define mul(r,a,bl,bh,c) { \ argument 629 mul64(l,h,(bl),(bh)); \
|
/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_hw.c | 32 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 D | cipher_des_hw.c | 54 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/evp/ |
H A D | evp_enc.c | 570 if (bl - i > inl) { in evp_EncryptDecryptUpdate() 576 j = bl - i; in evp_EncryptDecryptUpdate() 585 if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) { in evp_EncryptDecryptUpdate() 594 out += bl; in evp_EncryptDecryptUpdate() 595 *outl = bl; in evp_EncryptDecryptUpdate() 599 i = inl & (bl - 1); in evp_EncryptDecryptUpdate() 679 unsigned int i, b, bl; in EVP_EncryptFinal_ex() local 741 bl = ctx->buf_len; in EVP_EncryptFinal_ex() 743 if (bl) { in EVP_EncryptFinal_ex() 751 n = b - bl; in EVP_EncryptFinal_ex() [all …]
|
H A D | e_sm4.c | 172 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 D | e_camellia.c | 239 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 D | e_aes.c | 193 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in aesni_ecb_cipher() local 195 if (len < bl) in aesni_ecb_cipher() 2534 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in aes_ecb_cipher() local 2538 if (len < bl) in aes_ecb_cipher() 2541 for (i = 0, len -= bl; i <= len; i += bl) in aes_ecb_cipher()
|
/openssl/crypto/aes/asm/ |
H A D | bsaes-armv8.pl | 1069 bl _bsaes_decrypt8 1121 bl _bsaes_decrypt8 1148 bl _bsaes_decrypt8 1171 bl _bsaes_decrypt8 1191 bl _bsaes_decrypt8 1208 bl _bsaes_decrypt8 1238 bl AES_decrypt 1438 bl AES_encrypt 1507 bl AES_encrypt 1840 bl AES_encrypt [all …]
|
/openssl/crypto/whrlpool/asm/ |
H A D | wp-x86_64.pl | 133 movz %bl,%ecx 140 movz %bl,%ecx 167 movz %bl,%ecx 174 movz %bl,%ecx
|
/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 265 size_t i, bl = ctx->blocksize; \ 268 if (len < bl) \ 270 for (i = 0, len -= bl; i <= len; i += bl) \
|
/openssl/test/certs/ |
H A D | rootkey.pem | 9 bl+wY84aV3GKJOS2InfYOcIy340UU5QHvxOq/kwwRVV/uAOZ8rqAFmZY9djOnhdv
|
/openssl/crypto/bn/asm/ |
H A D | rsaz-4k-avx512.pl | 332 shl \$4,%bl 333 or %bl,%cl 340 or %al,%bl 346 adcb %bl,%r10b 352 xor %bl,%r10b
|
H A D | rsaz-2k-avx512.pl | 273 or %cl, %bl 276 adc %bl, %r12b 280 xor %bl, %r12b
|
H A D | rsaz-3k-avx512.pl | 309 shl \$4,%bl 310 or %bl,%cl
|
/openssl/crypto/ |
H A D | x86_64cpuid.pl | 131 cmp %r10b,%bl 180 cmp \$1,%bl # see if cache is shared
|
/openssl/include/crypto/ |
H A D | evp.h | 354 size_t i, bl; \ 355 bl = EVP_CIPHER_CTX_get0_cipher(ctx)->block_size; \ 356 if (inl < bl) return 1;\ 357 inl -= bl; \ 358 for (i=0; i <= inl; i+=bl)
|
/openssl/engines/asm/ |
H A D | e_padlock-x86_64.pl | 312 setz %bl # !inp_misaligned
|
/openssl/crypto/des/asm/ |
H A D | des_enc.m4 | 1403 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
|