Home
last modified time | relevance | path

Searched refs:Ai (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/bn/
H A Dbn_blind.c18 BIGNUM *Ai; member
53 if (Ai != NULL) { in BN_BLINDING_new()
54 if ((ret->Ai = BN_dup(Ai)) == NULL) in BN_BLINDING_new()
84 BN_free(r->Ai); in BN_BLINDING_free()
95 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_update()
110 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx) in BN_BLINDING_update()
114 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update()
138 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_convert_ex()
172 if (r == NULL && (r = b->Ai) == NULL) { in BN_BLINDING_invert_ex()
255 if (ret->Ai == NULL && (ret->Ai = BN_new()) == NULL) in BN_BLINDING_create_param()
[all …]
/openssl/providers/implementations/kdfs/
H A Dpkcs12kdf.c54 unsigned char *B = NULL, *D = NULL, *I = NULL, *p = NULL, *Ai = NULL; in pkcs12kdf_derive() local
75 Ai = OPENSSL_malloc(u); in pkcs12kdf_derive()
84 if (D == NULL || Ai == NULL || B == NULL || I == NULL) in pkcs12kdf_derive()
97 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in pkcs12kdf_derive()
101 || !EVP_DigestUpdate(ctx, Ai, u) in pkcs12kdf_derive()
102 || !EVP_DigestFinal_ex(ctx, Ai, NULL)) in pkcs12kdf_derive()
105 memcpy(out, Ai, n < u ? n : u); in pkcs12kdf_derive()
113 B[j] = Ai[j % u]; in pkcs12kdf_derive()
129 OPENSSL_free(Ai); in pkcs12kdf_derive()
H A Dtls1_prf.c470 unsigned char Ai[EVP_MAX_MD_SIZE]; in tls1_prf_P_hash() local
488 if (!EVP_MAC_final(ctx_Ai, Ai, &Ai_len, sizeof(Ai))) in tls1_prf_P_hash()
497 if (!EVP_MAC_update(ctx, Ai, Ai_len)) in tls1_prf_P_hash()
509 if (!EVP_MAC_final(ctx, Ai, &Ai_len, sizeof(Ai))) in tls1_prf_P_hash()
511 memcpy(out, Ai, olen); in tls1_prf_P_hash()
525 OPENSSL_cleanse(Ai, sizeof(Ai)); in tls1_prf_P_hash()
/openssl/crypto/sha/
H A Dkeccak1600.c987 static uint64_t BitInterleave(uint64_t Ai) in BitInterleave() argument
990 uint32_t hi = (uint32_t)(Ai >> 32), lo = (uint32_t)Ai; in BitInterleave()
1020 return Ai; in BitInterleave()
1023 static uint64_t BitDeinterleave(uint64_t Ai) in BitDeinterleave() argument
1026 uint32_t hi = (uint32_t)(Ai >> 32), lo = (uint32_t)Ai; in BitDeinterleave()
1056 return Ai; in BitDeinterleave()
1085 A_flat[i] ^= BitInterleave(Ai); in SHA3_absorb()
1120 *out++ = (unsigned char)Ai; in SHA3_squeeze()
1121 Ai >>= 8; in SHA3_squeeze()
1126 out[0] = (unsigned char)(Ai); in SHA3_squeeze()
[all …]
/openssl/doc/man3/
H A DBN_BLINDING_new.pod15 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai,
44 the B<A> and B<Ai> values into the newly created B<BN_BLINDING> object.
50 the B<A> and B<Ai> or, after specific number of uses and if the
54 If B<r> is not NULL a copy the inverse blinding factor B<Ai> will be
57 inverse blinding factor B<Ai>. If B<r> is not NULL it will be used as
/openssl/crypto/ec/
H A Dcurve25519.c4552 ge_p3_to_cached(&Ai[0], A); in ge_double_scalarmult_vartime()
4555 ge_add(&t, &A2, &Ai[0]); in ge_double_scalarmult_vartime()
4557 ge_p3_to_cached(&Ai[1], &u); in ge_double_scalarmult_vartime()
4558 ge_add(&t, &A2, &Ai[1]); in ge_double_scalarmult_vartime()
4560 ge_p3_to_cached(&Ai[2], &u); in ge_double_scalarmult_vartime()
4561 ge_add(&t, &A2, &Ai[2]); in ge_double_scalarmult_vartime()
4563 ge_p3_to_cached(&Ai[3], &u); in ge_double_scalarmult_vartime()
4564 ge_add(&t, &A2, &Ai[3]); in ge_double_scalarmult_vartime()
4567 ge_add(&t, &A2, &Ai[4]); in ge_double_scalarmult_vartime()
4570 ge_add(&t, &A2, &Ai[5]); in ge_double_scalarmult_vartime()
[all …]
/openssl/include/openssl/
H A Dbn.h425 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);

Completed in 30 milliseconds