Home
last modified time | relevance | path

Searched refs:BN_mod_exp (Results 1 - 25 of 36) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_sqrt.c101 if (!BN_mod_exp(ret, A, q, p, ctx)) in BN_mod_sqrt()
144 if (!BN_mod_exp(b, t, q, p, ctx)) in BN_mod_sqrt()
227 if (!BN_mod_exp(y, y, q, p, ctx)) in BN_mod_sqrt()
269 if (!BN_mod_exp(x, A, t, p, ctx)) in BN_mod_sqrt()
H A Dbn_blind.c295 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)) in BN_BLINDING_create_param()
/third_party/openssl/crypto/bn/
H A Dbn_sqrt.c101 if (!BN_mod_exp(ret, A, q, p, ctx)) in BN_mod_sqrt()
144 if (!BN_mod_exp(b, t, q, p, ctx)) in BN_mod_sqrt()
227 if (!BN_mod_exp(y, y, q, p, ctx)) in BN_mod_sqrt()
269 if (!BN_mod_exp(x, A, t, p, ctx)) in BN_mod_sqrt()
H A Dbn_blind.c295 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)) in BN_BLINDING_create_param()
/third_party/node/deps/openssl/openssl/crypto/srp/
H A Dsrp_lib.c90 if (!BN_mod_exp(tmp, v, u, N, bn_ctx)) in SRP_Calc_server_key()
96 if (S != NULL && !BN_mod_exp(S, tmp, b, N, bn_ctx)) { in SRP_Calc_server_key()
123 if (!BN_mod_exp(gb, g, b, N, bn_ctx) in SRP_Calc_B_ex()
204 if ((A = BN_new()) != NULL && !BN_mod_exp(A, g, a, N, bn_ctx)) { in SRP_Calc_A()
232 if (!BN_mod_exp(tmp, g, xtmp, N, bn_ctx)) in SRP_Calc_client_key_ex()
245 if (K != NULL && !BN_mod_exp(K, tmp, tmp2, N, bn_ctx)) { in SRP_Calc_client_key_ex()
/third_party/openssl/crypto/srp/
H A Dsrp_lib.c90 if (!BN_mod_exp(tmp, v, u, N, bn_ctx)) in SRP_Calc_server_key()
96 if (S != NULL && !BN_mod_exp(S, tmp, b, N, bn_ctx)) { in SRP_Calc_server_key()
123 if (!BN_mod_exp(gb, g, b, N, bn_ctx) in SRP_Calc_B_ex()
204 if ((A = BN_new()) != NULL && !BN_mod_exp(A, g, a, N, bn_ctx)) { in SRP_Calc_A()
232 if (!BN_mod_exp(tmp, g, xtmp, N, bn_ctx)) in SRP_Calc_client_key_ex()
245 if (K != NULL && !BN_mod_exp(K, tmp, tmp2, N, bn_ctx)) { in SRP_Calc_client_key_ex()
/third_party/node/deps/openssl/openssl/fuzz/
H A Dbignum.c77 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput()
/third_party/node/deps/openssl/openssl/crypto/ffc/
H A Dffc_key_validate.c81 || !BN_mod_exp(tmp, pub_key, params->q, params->p, ctx)) in ossl_ffc_validate_public_key()
/third_party/openssl/crypto/ffc/
H A Dffc_key_validate.c85 || !BN_mod_exp(tmp, pub_key, params->q, params->p, ctx)) in ossl_ffc_validate_public_key()
/third_party/openssl/fuzz/
H A Dbignum.c77 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput()
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A Ddsa_key.c54 if (!BN_mod_exp(pub_key, dsa->params.g, prk, dsa->params.p, ctx)) in ossl_dsa_generate_public_key()
H A Ddsa_backend.c172 if (!BN_mod_exp(dsa_pubkey, dsa_g, dsa_privkey, dsa_p, ctx)) { in ossl_dsa_key_from_pkcs8()
/third_party/openssl/crypto/dsa/
H A Ddsa_key.c54 if (!BN_mod_exp(pub_key, dsa->params.g, prk, dsa->params.p, ctx)) in ossl_dsa_generate_public_key()
H A Ddsa_backend.c172 if (!BN_mod_exp(dsa_pubkey, dsa_g, dsa_privkey, dsa_p, ctx)) { in ossl_dsa_key_from_pkcs8()
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_sp800_56b_gen.c441 && BN_mod_exp(tmp, k, rsa->e, rsa->n, ctx) in ossl_rsa_sp800_56b_pairwise_test()
442 && BN_mod_exp(tmp, tmp, rsa->d, rsa->n, ctx) in ossl_rsa_sp800_56b_pairwise_test()
/third_party/openssl/crypto/rsa/
H A Drsa_sp800_56b_gen.c441 && BN_mod_exp(tmp, k, rsa->e, rsa->n, ctx) in ossl_rsa_sp800_56b_pairwise_test()
442 && BN_mod_exp(tmp, tmp, rsa->d, rsa->n, ctx) in ossl_rsa_sp800_56b_pairwise_test()
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dtlssrp_depr.c40 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g()
/third_party/openssl/apps/lib/
H A Dtlssrp_depr.c40 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g()
/third_party/node/deps/openssl/openssl/crypto/dh/
H A Ddh_check.c188 if (!BN_mod_exp(t1, dh->params.g, dh->params.q, dh->params.p, ctx)) in DH_check()
/third_party/openssl/crypto/dh/
H A Ddh_check.c187 if (!BN_mod_exp(t1, dh->params.g, dh->params.q, dh->params.p, ctx)) in DH_check()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dbn.rs100 pub fn BN_mod_exp( in BN_mod_exp() functions
/third_party/openssl/test/
H A Dbntest.c1651 if (!TEST_true(BN_mod_exp(ret, a, e, m, ctx)) in file_modexp()
1674 if (!TEST_true(BN_mod_exp(d, a, b, c, ctx)) in file_modexp()
2268 if (!TEST_false(BN_mod_exp(a, BN_value_one(), BN_value_one(), zero, ctx))) in test_badmod()
2324 if (!TEST_true(BN_mod_exp(r, a, zero, BN_value_one(), NULL)) in test_expmodzero()
2366 if (!TEST_true(BN_mod_exp(r, a, p, m, NULL)) in test_expmodone()
2828 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1)) in test_mod_exp()
2866 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1)) in test_mod_exp_consttime()
H A Dexptest.c68 if (!TEST_true(BN_mod_exp(r, a, p, m, ctx))) in test_mod_exp_zero()
71 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp", r, a))) in test_mod_exp_zero()
/third_party/ffmpeg/libavformat/
H A Drtmpdh.c160 if (!BN_mod_exp(bn, y, q, p, ctx)) { in bn_modexp()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dbn.rs696 #[corresponds(BN_mod_exp)]
705 cvt(ffi::BN_mod_exp( in mod_exp()

Completed in 26 milliseconds

12