/openssl-master/crypto/cmac/ |
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-master/crypto/asn1/ |
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-master/crypto/objects/ |
A D | obj_dat.c | 453 BIGNUM *bl; in OBJ_obj2txt() local 481 bl = NULL; in OBJ_obj2txt() 492 if (!BN_add_word(bl, c & 0x7f)) in OBJ_obj2txt() 499 if (bl == NULL && (bl = BN_new()) == NULL) in OBJ_obj2txt() 501 if (!BN_set_word(bl, l)) in OBJ_obj2txt() 506 if (!BN_lshift(bl, bl, 7)) in OBJ_obj2txt() 517 if (!BN_sub_word(bl, 80)) in OBJ_obj2txt() 535 bndec = BN_bn2dec(bl); in OBJ_obj2txt() 575 BN_free(bl); in OBJ_obj2txt() 579 BN_free(bl); in OBJ_obj2txt()
|
/openssl-master/crypto/bn/ |
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 …]
|
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 …]
|
A D | bn_local.h | 569 # define mul64(l,h,bl,bh) \ argument 576 lt=(bl)*(lt); \ 577 m1=(bl)*(ht); \ 604 # define mul_add(r,a,bl,bh,c) { \ argument 610 mul64(l,h,(bl),(bh)); \ 620 # define mul(r,a,bl,bh,c) { \ argument 626 mul64(l,h,(bl),(bh)); \
|
/openssl-master/providers/implementations/ciphers/ |
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()
|
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()
|
/openssl-master/crypto/evp/ |
A D | evp_enc.c | 550 if (bl - i > inl) { in evp_EncryptDecryptUpdate() 556 j = bl - i; in evp_EncryptDecryptUpdate() 565 if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) { in evp_EncryptDecryptUpdate() 574 out += bl; in evp_EncryptDecryptUpdate() 575 *outl = bl; in evp_EncryptDecryptUpdate() 579 i = inl & (bl - 1); in evp_EncryptDecryptUpdate() 658 unsigned int i, b, bl; in EVP_EncryptFinal_ex() local 720 bl = ctx->buf_len; in EVP_EncryptFinal_ex() 722 if (bl) { in EVP_EncryptFinal_ex() 730 n = b - bl; in EVP_EncryptFinal_ex() [all …]
|
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()
|
A D | e_aes.c | 192 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in aesni_ecb_cipher() local 194 if (len < bl) in aesni_ecb_cipher() 2442 size_t bl = EVP_CIPHER_CTX_get_block_size(ctx); in aes_ecb_cipher() local 2446 if (len < bl) in aes_ecb_cipher() 2449 for (i = 0, len -= bl; i <= len; i += bl) in aes_ecb_cipher()
|
/openssl-master/providers/implementations/include/prov/ |
A D | ciphercommon.h | 260 size_t i, bl = ctx->blocksize; \ 263 if (len < bl) \ 265 for (i = 0, len -= bl; i <= len; i += bl) \
|
/openssl-master/crypto/whrlpool/asm/ |
A D | wp-x86_64.pl | 133 movz %bl,%ecx 140 movz %bl,%ecx 167 movz %bl,%ecx 174 movz %bl,%ecx
|
/openssl-master/test/certs/ |
A D | rootkey.pem | 9 bl+wY84aV3GKJOS2InfYOcIy340UU5QHvxOq/kwwRVV/uAOZ8rqAFmZY9djOnhdv
|
/openssl-master/crypto/ |
A D | x86_64cpuid.pl | 131 cmp %r10b,%bl 180 cmp \$1,%bl # see if cache is shared
|
/openssl-master/include/crypto/ |
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-master/crypto/bn/asm/ |
A D | rsaz-avx512.pl | 272 or %cl, %bl 275 adc %bl, %r12b 279 xor %bl, %r12b
|
/openssl-master/engines/asm/ |
A D | e_padlock-x86_64.pl | 312 setz %bl # !inp_misaligned
|
/openssl-master/crypto/des/asm/ |
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
|