Lines Matching refs:Ai
16 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) in BN_BLINDING_new() argument
41 if (Ai != NULL) { in BN_BLINDING_new()
42 if ((ret->Ai = BN_dup(Ai)) == NULL) in BN_BLINDING_new()
72 BN_free(r->Ai); in BN_BLINDING_free()
83 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_update()
98 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx) in BN_BLINDING_update()
102 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update()
126 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_convert_ex()
137 if (r != NULL && (BN_copy(r, b->Ai) == NULL)) in BN_BLINDING_convert_ex()
160 if (r == NULL && (r = b->Ai) == NULL) { in BN_BLINDING_invert_ex()
242 if (ret->Ai == NULL && (ret->Ai = BN_new()) == NULL) in BN_BLINDING_create_param()
261 if (int_bn_mod_inverse(ret->Ai, ret->A, ret->mod, ctx, &rv)) in BN_BLINDING_create_param()
285 if (!bn_to_mont_fixed_top(ret->Ai, ret->Ai, ret->m_ctx, ctx) in BN_BLINDING_create_param()