Home
last modified time | relevance | path

Searched refs:BN_mul (Results 1 – 18 of 18) sorted by relevance

/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_recp.c126 if (!BN_mul(a, x, y, ctx)) in BN_mod_mul_reciprocal()
199 if (!BN_mul(b, a,&(recp->Nr), ctx)) in BN_div_recp()
205 if (!BN_mul(b, &(recp->N), d, ctx)) in BN_div_recp()
H A Dbn_mont.c160 if (!BN_mul(tmp, a,b, ctx)) in BN_mod_mul_montgomery()
305 if (!BN_mul(t2, t1, &mont->Ni, ctx)) in BN_from_montgomery()
309 if (!BN_mul(t1, t2, &mont->N, ctx)) in BN_from_montgomery()
H A Dbn_bpsw.c77 if (!BN_mul(tmp, D, tmp, ctx)) in bn_lucas_step()
94 if (!BN_mul(tmp, D, U, ctx)) in bn_lucas_step()
H A Dbn_gcd.c492 if (!BN_mul(tmp, D,X, ctx)) in BN_mod_inverse_internal()
684 if (!BN_mul(tmp, D, X, ctx)) in BN_mod_inverse_no_branch()
851 if (!BN_mul(tmp, D, X, ctx)) in BN_gcd_no_branch()
H A Dbn_mod.c196 if (!BN_mul(t, a,b, ctx)) in BN_mod_mul()
H A Dbn_mul.c940 BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in BN_mul() function
H A Dbn_exp.c161 if (!BN_mul(rr, rr, v, ctx)) in BN_exp()
/dragonfly/crypto/libressl/crypto/rsa/
H A Drsa_chk.c112 r = BN_mul(i, key->p, key->q, ctx); in RSA_check_key()
137 r = BN_mul(l, i, j, ctx); in RSA_check_key()
H A Drsa_gen.c187 if (!BN_mul(rsa->n, rsa->p, rsa->q, ctx)) in rsa_builtin_keygen()
195 if (!BN_mul(r0, r1, r2, ctx)) /* (p-1)(q-1) */ in rsa_builtin_keygen()
H A Drsa_crpt.c169 if (!BN_mul(r0, r1, r2, ctx)) in rsa_get_public_exp()
H A Drsa_eay.c783 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) in RSA_eay_mod_exp()
804 if (!BN_mul(r1, r0, rsa->q, ctx)) in RSA_eay_mod_exp()
/dragonfly/usr.bin/newkey/
H A Dgeneric.c121 BN_mul(sk, base, sk, ctx); in genkeys()
/dragonfly/crypto/libressl/crypto/ec/
H A Decp_nist.c182 if (!BN_mul(r, a, b, ctx)) in ec_GFp_nist_field_mul()
H A Decp_smpl.c1548 if (!BN_mul(cardinality, &group->order, &group->cofactor, ctx)) in ec_GFp_simple_mul_ct()
/dragonfly/lib/libtelnet/
H A Dpk.c222 BN_mul(sk, base, sk, ctx); in genkeys()
/dragonfly/usr.bin/dc/
H A Dbcode.c374 bn_check(BN_mul(n, n, a, ctx)); in scale_number()
1013 bn_check(BN_mul(r->number, a->number, b->number, ctx)); in bmul_number()
/dragonfly/crypto/libressl/crypto/dsa/
H A Ddsa_ameth.c535 if (BN_mul(newp1, dsa->q, j, ctx) == 0) in old_dsa_priv_decode()
/dragonfly/crypto/libressl/include/openssl/
H A Dbn.h386 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);