/freebsd-11-stable/contrib/ntp/util/ |
H A D | ntp-keygen.c | 1179 BN_mod_exp(v, g, v, p, ctx); /* g^(q - b) mod p */ 1180 BN_mod_exp(u, g, b, p, ctx); /* g^b mod p */ 1213 BN_mod_exp(u, g, k, p, ctx); /* x = g^k mod p */ 1221 BN_mod_exp(v, g, v, p, ctx); /* g^y mod p */ 1222 BN_mod_exp(w, pub_key, r, p, ctx); /* v^r */ 1375 BN_mod_exp(v, v, b, n, ctx); 1376 BN_mod_exp(g, u, b, n, ctx); /* u^b */ 1410 BN_mod_exp(y, u, r, n, ctx); /* u^r mod n */ 1412 BN_mod_exp(g, k, b, n, ctx); /* g = k^b mod n */ 1421 BN_mod_exp( [all...] |
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | s_client.c | 496 BN_mod_exp(r, g, p, N, bn_ctx) &&
|
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn.h | 550 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
H A D | bn_blind.c | 392 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx))
|
H A D | bn_exp.c | 194 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, function
|
H A D | bn_sqrt.c | 148 if (!BN_mod_exp(ret, A, q, p, ctx)) 190 if (!BN_mod_exp(b, t, q, p, ctx)) 273 if (!BN_mod_exp(y, y, q, p, ctx)) 315 if (!BN_mod_exp(x, A, t, p, ctx))
|
H A D | expspeed.c | 285 if (!BN_mod_exp(r, a, b, c, ctx))
|
H A D | exptest.c | 119 if (!BN_mod_exp(&r, &a, &p, &m, ctx)) 122 if (!a_is_zero_mod_one("BN_mod_exp", &r, &a))
|
H A D | bntest.c | 266 message(out, "BN_mod_exp"); 1006 if (BN_mod_exp(d, a, b, c, ctx)) { 1007 fprintf(stderr, "BN_mod_exp with zero modulus succeeded!\n"); 1016 if (!BN_mod_exp(d, a, b, c, ctx)) 1050 BN_mod_exp(d, a, b, c, ctx); 1053 fprintf(stderr, "BN_mod_exp and BN_mul produce different results!\n");
|
/freebsd-11-stable/crypto/openssl/crypto/dh/ |
H A D | dh_check.c | 100 if (!BN_mod_exp(t1, dh->g, dh->q, dh->p, ctx)) 174 if (!BN_mod_exp(tmp, pub_key, dh->q, dh->p, ctx))
|
/freebsd-11-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 266 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) {
|
H A D | dsa_key.c | 128 if (!BN_mod_exp(pub_key, dsa->g, prk, dsa->p, ctx))
|
/freebsd-11-stable/crypto/openssl/crypto/engine/ |
H A D | eng_cryptodev.c | 1132 ret = BN_mod_exp(r, a, p, m, ctx);
|
/freebsd-11-stable/crypto/openssl/crypto/jpake/ |
H A D | jpake.c | 202 BN_mod_exp(p->zkpx.gr, zkpg, r, ctx->p.p, ctx->ctx); 232 BN_mod_exp(t1, zkpg, p->zkpx.b, ctx->p.p, ctx->ctx); 234 BN_mod_exp(t2, p->gx, h, ctx->p.p, ctx->ctx); 257 BN_mod_exp(p->gx, g, x, ctx->p.p, ctx->ctx); 302 BN_mod_exp(t, gx, ctx->p.q, ctx->p.p, ctx->ctx); 357 BN_mod_exp(t1, ctx->p.g, ctx->xa, ctx->p.p, ctx->ctx); 399 BN_mod_exp(t1, ctx->p.gxd, ctx->xb, ctx->p.p, ctx->ctx); 403 BN_mod_exp(t3, t1, t2, ctx->p.p, ctx->ctx); 407 BN_mod_exp(ctx->key, t1, ctx->xb, ctx->p.p, ctx->ctx); 429 BN_mod_exp(t [all...] |
/freebsd-11-stable/crypto/openssl/crypto/srp/ |
H A D | srp_lib.c | 167 if (!BN_mod_exp(tmp, v, u, N, bn_ctx)) 173 if (S != NULL && !BN_mod_exp(S, tmp, b, N, bn_ctx)) { 199 if (!BN_mod_exp(gb, g, b, N, bn_ctx) || 253 if ((A = BN_new()) != NULL && !BN_mod_exp(A, g, a, N, bn_ctx)) { 276 if (!BN_mod_exp(tmp, g, x, N, bn_ctx)) 290 if (K != NULL && !BN_mod_exp(K, tmp, tmp2, N, bn_ctx)) {
|
H A D | srp_vfy.c | 709 if (!BN_mod_exp(*verifier, g, x, N, bn_ctx)) {
|
/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost_sign.c | 88 BN_mod_exp(tmp, dsa->g, k, dsa->p, ctx); 202 BN_mod_exp(v, md, q2, dsa->q, ctx); 206 BN_mod_exp(tmp, dsa->g, z1, dsa->p, ctx); 207 BN_mod_exp(tmp2, dsa->pub_key, z2, dsa->p, ctx); 249 BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx);
|
/freebsd-11-stable/crypto/openssl/engines/ |
H A D | e_aep.c | 614 return BN_mod_exp(r, a, p, m, ctx); 623 return BN_mod_exp(r, a, p, m, ctx); 635 return BN_mod_exp(r, a, p, m, ctx);
|
H A D | e_ubsec.c | 581 return BN_mod_exp(r, a, p, m, ctx); 592 return BN_mod_exp(r, a, p, m, ctx); 602 return BN_mod_exp(r, a, p, m, ctx);
|
/freebsd-11-stable/lib/libmp/ |
H A D | mpasbn.c | 516 BN_ERRCHECK("pow", BN_mod_exp(&b, bmp->bn, emp->bn, mmp->bn, c));
|
/freebsd-11-stable/secure/lib/libcrypto/ |
H A D | Makefile.man | 365 MLINKS+= BN_add.3 BN_mod_exp.3
|
/freebsd-11-stable/tools/tools/crypto/ |
H A D | cryptokeytest.c | 238 BN_mod_exp(r1, a, b, c, ctx);
|
/freebsd-11-stable/usr.bin/factor/ |
H A D | factor.c | 282 BN_mod_exp(base, base, i, val, ctx);
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_crypto.c | 2291 BN_mod_exp(bk, g, bk, p, bctx); /* g^k mod p */ 2412 BN_mod_exp(bn, pub_key, peer->iffval, p, bctx); 2413 BN_mod_exp(bk, g, r, p, bctx); 2618 BN_mod_exp(y, p, r, n, bctx); /* u^r mod n */ 2620 BN_mod_exp(g, k, e, n, bctx); /* k^b mod n */ 2740 BN_mod_exp(v, peer->grpkey, peer->iffval, n, bctx); 2742 BN_mod_exp(y, r, e, n, bctx); /* y^b mod n */ 2970 BN_mod_exp(u, g, k, p, bctx); /* A^k r */ 2972 BN_mod_exp(sq, priv_key, k, p, bctx); /* gbar */ 2973 BN_mod_exp(s [all...] |
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 571 !BN_mod_exp(tmp, pub, q, p, ctx) ||
|