Home
last modified time | relevance | path

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

12

/netbsd/src/crypto/external/bsd/openssl/dist/crypto/rsa/
Drsa_chk.c89 if (!BN_mul(i, key->p, key->q, ctx)) { in rsa_validate_keypair_multiprime()
95 if (!BN_mul(i, i, pinfo->r, ctx)) { in rsa_validate_keypair_multiprime()
119 if (!BN_mul(l, i, j, ctx)) { in rsa_validate_keypair_multiprime()
137 if (!BN_mul(l, m, k, ctx)) { in rsa_validate_keypair_multiprime()
Drsa_gen.c242 if (!BN_mul(r1, rsa->p, rsa->q, ctx)) in rsa_multiprime_keygen()
246 if (!BN_mul(r1, rsa->n, prime, ctx)) in rsa_multiprime_keygen()
329 if (!BN_mul(r0, r1, r2, ctx)) in rsa_multiprime_keygen()
337 if (!BN_mul(r0, r0, pinfo->d, ctx)) in rsa_multiprime_keygen()
Drsa_x931g.c96 if (!BN_mul(rsa->n, rsa->p, rsa->q, ctx)) in RSA_X931_derive_ex()
104 if (!BN_mul(r0, r1, r2, ctx)) in RSA_X931_derive_ex()
Drsa_mp.c87 if (!BN_mul(pinfo->pp, p1, p2, ctx)) in ossl_rsa_multip_calc_product()
Drsa_ossl.c835 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) in rsa_ossl_mod_exp()
862 if (!BN_mul(r1, r0, rsa->q, ctx)) in rsa_ossl_mod_exp()
882 if (!BN_mul(r2, r1, pinfo->t, ctx)) { in rsa_ossl_mod_exp()
899 if (!BN_mul(r1, r1, pinfo->pp, ctx)) { in rsa_ossl_mod_exp()
Drsa_sp800_56b_check.c271 && BN_mul(p1q1, p1, q1, ctx) /* (p-1)(q-1) */ in ossl_rsa_get_lcm()
419 if (r == NULL || !BN_mul(r, rsa->p, rsa->q, ctx))
Drsa_crpt.c107 if (!BN_mul(r0, r1, r2, ctx)) in rsa_get_public_exp()
Drsa_sp800_56b_gen.c281 if (rsa->n == NULL || !BN_mul(rsa->n, rsa->p, rsa->q, ctx)) in ossl_rsa_sp800_56b_derive_params_from_pq()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/bn/
Dbn_x931p.c88 if (!BN_mul(p1p2, p1, p2, ctx)) in BN_X931_derive_prime_ex()
96 if (!BN_mul(p, p, p2, ctx)) in BN_X931_derive_prime_ex()
102 if (!BN_mul(t, t, p1, ctx)) in BN_X931_derive_prime_ex()
Dbn_recp.c70 if (!BN_mul(a, x, y, ctx)) in BN_mod_mul_reciprocal()
134 if (!BN_mul(b, a, &(recp->Nr), ctx)) in BN_div_recp()
140 if (!BN_mul(b, &(recp->N), d, ctx)) in BN_div_recp()
Dbn_rsa_fips186_4.c295 && BN_mul(R, R, r2, ctx) /* R = (r2^-1 mod 2r1) * r2 */ in ossl_bn_rsa_fips186_4_derive_prime()
297 && BN_mul(tmp, tmp, r1x2, ctx) /* tmp = (2r1^-1 mod r2)*2r1 */ in ossl_bn_rsa_fips186_4_derive_prime()
300 && BN_mul(r1r2x2, r1x2, r2, ctx))) in ossl_bn_rsa_fips186_4_derive_prime()
Dbn_gcd.c141 if (!BN_mul(tmp, D, X, ctx)) in bn_mod_inverse_no_branch()
464 if (!BN_mul(tmp, D, X, ctx)) in int_bn_mod_inverse()
Dbn_mont.c199 if (!BN_mul(t2, t1, &mont->Ni, ctx)) in bn_from_mont_fixed_top()
203 if (!BN_mul(t1, t2, &mont->N, ctx)) in bn_from_mont_fixed_top()
Dbn_mod.c224 if (!BN_mul(t, a, b, ctx)) in BN_mod_mul()
Dbn_mul.c497 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in BN_mul() function
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Drsa_sp800_56b_test.c425 && TEST_true(BN_mul(n, p, q, ctx)) in test_invalid_keypair()
428 && TEST_true(BN_mul(n, p, q, ctx)) in test_invalid_keypair()
431 && TEST_true(BN_mul(n, p, q, ctx)) in test_invalid_keypair()
434 && TEST_true(BN_mul(n, p, q, ctx)); in test_invalid_keypair()
Dbntest.c286 && TEST_true(BN_mul(e, d, b, ctx)) in test_div_recip()
394 && TEST_true(BN_mul(c, d, b, ctx)) in test_mod()
1324 || !TEST_true(BN_mul(ret, a, two, ctx)) in file_lshift1()
1428 || !TEST_true(BN_mul(ret, a, a, ctx)) in file_square()
1488 if (!TEST_true(BN_mul(ret, a, b, ctx)) in file_product()
1528 || !TEST_true(BN_mul(ret, quotient, b, ctx)) in file_quotient()
1683 || !TEST_true(BN_mul(e, a, a, ctx)) in file_modexp()
2203 if (!TEST_true(BN_mul(c, a, b, ctx))) in test_negzero()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ec/
Decdh_ossl.c84 !BN_mul(x, x, priv_key, ctx)) { in ossl_ecdh_simple_compute_key()
Decp_nist.c142 if (!BN_mul(r, a, b, ctx)) in ossl_ec_GFp_nist_field_mul()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libbn/
Dbn.h111 int BN_mul(BIGNUM */*r*/, const BIGNUM */*a*/, const BIGNUM */*b*/, BN_CTX */*ctx*/);
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/
Dbi_openssl.c89 BN_mul( result, result, temp, context); in bi_multi_mod_exp()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
Dbn.h77 #define BN_mul PGPV_BN_mul macro
/netbsd/src/lib/libtelnet/
Dpk.c202 BN_mul(sk, tmp, sk, ctx); in genkeys()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/srp/
Dsrp_lib.c240 if (!BN_mul(tmp3, u, xtmp, bn_ctx)) in SRP_Calc_client_key_ex()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/librsa/
Drsa.c572 BN_mul(calcn, rsa->p, rsa->q, NULL); in RSA_check_key()

12