Symbol: BN_mod_exp
crypto/openssl/apps/lib/tlssrp_depr.c
36
BN_mod_exp(r, g, p, N, bn_ctx) && BN_add_word(r, 1) && BN_cmp(r, N) == 0;
crypto/openssl/crypto/bn/bn_blind.c
292
if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
101
if (!BN_mod_exp(ret, A, q, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
144
if (!BN_mod_exp(b, t, q, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
226
if (!BN_mod_exp(y, y, q, p, ctx))
crypto/openssl/crypto/bn/bn_sqrt.c
268
if (!BN_mod_exp(x, A, t, p, ctx))
crypto/openssl/crypto/dh/dh_check.c
189
if (!BN_mod_exp(t1, dh->params.g, dh->params.q, dh->params.p, ctx))
crypto/openssl/crypto/dsa/dsa_backend.c
170
if (!BN_mod_exp(dsa_pubkey, dsa_g, dsa_privkey, dsa_p, ctx)) {
crypto/openssl/crypto/dsa/dsa_key.c
53
if (!BN_mod_exp(pub_key, dsa->params.g, prk, dsa->params.p, ctx))
crypto/openssl/crypto/ffc/ffc_key_validate.c
81
|| !BN_mod_exp(tmp, pub_key, params->q, params->p, ctx))
crypto/openssl/crypto/pem/pvkfmt.c
414
if (!BN_mod_exp(pub_key, gbn, priv_key, pbn, ctx))
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
450
&& BN_mod_exp(tmp, k, rsa->e, rsa->n, ctx)
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
451
&& BN_mod_exp(tmp, tmp, rsa->d, rsa->n, ctx)
crypto/openssl/crypto/srp/srp_lib.c
121
if (!BN_mod_exp(gb, g, b, N, bn_ctx)
crypto/openssl/crypto/srp/srp_lib.c
202
if ((A = BN_new()) != NULL && !BN_mod_exp(A, g, a, N, bn_ctx)) {
crypto/openssl/crypto/srp/srp_lib.c
227
if (!BN_mod_exp(tmp, g, xtmp, N, bn_ctx))
crypto/openssl/crypto/srp/srp_lib.c
240
if (K != NULL && !BN_mod_exp(K, tmp, tmp2, N, bn_ctx)) {
crypto/openssl/crypto/srp/srp_lib.c
90
if (!BN_mod_exp(tmp, v, u, N, bn_ctx))
crypto/openssl/crypto/srp/srp_lib.c
96
if (S != NULL && !BN_mod_exp(S, tmp, b, N, bn_ctx)) {
crypto/openssl/crypto/srp/srp_vfy.c
749
if (!BN_mod_exp(verif, g, x, N, bn_ctx)) {
crypto/openssl/fuzz/bignum.c
77
OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx));
crypto/openssl/include/openssl/bn.h
310
int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/test/bntest.c
1727
if (!TEST_true(BN_mod_exp(ret, a, e, m, ctx))
crypto/openssl/test/bntest.c
1750
if (!TEST_true(BN_mod_exp(d, a, b, c, ctx))
crypto/openssl/test/bntest.c
2543
if (!TEST_false(BN_mod_exp(a, BN_value_one(), BN_value_one(), zero, ctx)))
crypto/openssl/test/bntest.c
2599
if (!TEST_true(BN_mod_exp(r, a, zero, BN_value_one(), NULL))
crypto/openssl/test/bntest.c
2641
if (!TEST_true(BN_mod_exp(r, a, p, m, NULL))
crypto/openssl/test/bntest.c
3105
if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
crypto/openssl/test/bntest.c
3143
if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
crypto/openssl/test/exptest.c
68
if (!TEST_true(BN_mod_exp(r, a, p, m, ctx)))
lib/libmp/mpasbn.c
530
BN_ERRCHECK("pow", BN_mod_exp(b, bmp->bn, emp->bn, mmp->bn, c));
usr.bin/factor/factor.c
266
BN_mod_exp(base, base, i, val, ctx);