Searched refs:BN_mod_mul (Results 1 - 25 of 75) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/
H A Dbn_sqrt.c193 if (!BN_mod_mul(t, t, y, p, ctx)) goto end;
197 if (!BN_mod_mul(x, A, b, p, ctx)) goto end;
198 if (!BN_mod_mul(x, x, t, p, ctx)) goto end;
314 if (!BN_mod_mul(b, b, A, p, ctx)) goto end;
317 if (!BN_mod_mul(x, x, A, p, ctx)) goto end;
349 if (!BN_mod_mul(t, t, t, p, ctx)) goto end;
359 if (!BN_mod_mul(y, t, t, p, ctx)) goto end;
360 if (!BN_mod_mul(x, x, t, p, ctx)) goto end;
361 if (!BN_mod_mul(b, b, y, p, ctx)) goto end;
H A Dbn_blind.c192 if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err;
193 if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err;
225 if (!BN_mod_mul(n,n,b->A,b->mod,ctx)) ret=0;
247 ret = BN_mod_mul(n, n, r, b->mod, ctx);
249 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx);
H A Dbn_exp.c915 if (!BN_mod_mul(d,val[0],val[0],m,ctx))
921 !BN_mod_mul(val[i],val[i-1],d,m,ctx))
940 if (!BN_mod_mul(r,r,r,m,ctx))
970 if (!BN_mod_mul(r,r,r,m,ctx))
975 if (!BN_mod_mul(r,r,val[wvalue>>1],m,ctx))
H A Dbn_mod.c178 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, function
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/bn/
H A Dbn_sqrt.c198 if (!BN_mod_mul(t, t, y, p, ctx))
204 if (!BN_mod_mul(x, A, b, p, ctx))
206 if (!BN_mod_mul(x, x, t, p, ctx))
328 if (!BN_mod_mul(b, b, A, p, ctx))
332 if (!BN_mod_mul(x, x, A, p, ctx))
363 if (!BN_mod_mul(t, t, t, p, ctx))
374 if (!BN_mod_mul(y, t, t, p, ctx))
376 if (!BN_mod_mul(x, x, t, p, ctx))
378 if (!BN_mod_mul(b, b, y, p, ctx))
H A Dbn_blind.c209 if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
211 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))
249 if (!BN_mod_mul(n, n, b->A, b->mod, ctx))
268 ret = BN_mod_mul(n, n, r, b->mod, ctx);
274 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/bn/
H A Dbn_sqrt.c198 if (!BN_mod_mul(t, t, y, p, ctx))
204 if (!BN_mod_mul(x, A, b, p, ctx))
206 if (!BN_mod_mul(x, x, t, p, ctx))
328 if (!BN_mod_mul(b, b, A, p, ctx))
332 if (!BN_mod_mul(x, x, A, p, ctx))
363 if (!BN_mod_mul(t, t, t, p, ctx))
374 if (!BN_mod_mul(y, t, t, p, ctx))
376 if (!BN_mod_mul(x, x, t, p, ctx))
378 if (!BN_mod_mul(b, b, y, p, ctx))
H A Dbn_blind.c209 if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
211 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))
249 if (!BN_mod_mul(n, n, b->A, b->mod, ctx))
268 ret = BN_mod_mul(n, n, r, b->mod, ctx);
274 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/engines/ccgost/
H A Dgost_sign.c100 BN_mod_mul(tmp, dsa->priv_key, newsig->r, dsa->q, ctx);
101 BN_mod_mul(tmp2, k, md, dsa->q, ctx);
203 BN_mod_mul(z1, sig->s, v, dsa->q, ctx);
205 BN_mod_mul(z2, tmp, v, dsa->p, ctx);
208 BN_mod_mul(tmp3, tmp, tmp2, dsa->p, ctx);
H A Dgost2001.c226 if(!BN_mod_mul(tmp, priv_key, r, order, ctx)
227 || !BN_mod_mul(tmp2, k, e, order, ctx)
323 || !BN_mod_mul(z1, sig->s, v, order, ctx)
325 || !BN_mod_mul(z2, tmp, v, order, ctx)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/engines/ccgost/
H A Dgost_sign.c100 BN_mod_mul(tmp, dsa->priv_key, newsig->r, dsa->q, ctx);
101 BN_mod_mul(tmp2, k, md, dsa->q, ctx);
203 BN_mod_mul(z1, sig->s, v, dsa->q, ctx);
205 BN_mod_mul(z2, tmp, v, dsa->p, ctx);
208 BN_mod_mul(tmp3, tmp, tmp2, dsa->p, ctx);
H A Dgost2001.c226 if(!BN_mod_mul(tmp, priv_key, r, order, ctx)
227 || !BN_mod_mul(tmp2, k, e, order, ctx)
323 || !BN_mod_mul(z1, sig->s, v, order, ctx)
325 || !BN_mod_mul(z2, tmp, v, order, ctx)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dsa/
H A Ddsa_ossl.c176 if (!BN_mod_mul(&xr,dsa->priv_key,r,dsa->q,ctx)) goto err;/* s = xr */
180 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err;
346 if (!BN_mod_mul(&u1,&u1,&u2,dsa->q,ctx)) goto err;
349 if (!BN_mod_mul(&u2,sig->r,&u2,dsa->q,ctx)) goto err;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ecdsa/
H A Decs_ossl.c287 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx))
297 if (!BN_mod_mul(s, s, ckinv, order, ctx))
401 if (!BN_mod_mul(u1, m, u2, order, ctx))
407 if (!BN_mod_mul(u2, sig->r, u2, order, ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dsa/
H A Ddsa_ossl.c180 if (!BN_mod_mul(&xr, dsa->priv_key, r, dsa->q, ctx))
187 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx))
374 if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx))
378 if (!BN_mod_mul(&u2, sig->r, &u2, dsa->q, ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dsa/
H A Ddsa_ossl.c180 if (!BN_mod_mul(&xr, dsa->priv_key, r, dsa->q, ctx))
187 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx))
374 if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx))
378 if (!BN_mod_mul(&u2, sig->r, &u2, dsa->q, ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/jpake/
H A Djpake.c204 BN_mod_mul(t, x, h, ctx->p.q, ctx->ctx);
232 BN_mod_mul(t3, t1, t2, ctx->p.p, ctx->ctx);
355 BN_mod_mul(t2, t1, ctx->p.gxc, ctx->p.p, ctx->ctx);
357 BN_mod_mul(t1, t2, ctx->p.gxd, ctx->p.p, ctx->ctx);
359 BN_mod_mul(t2, ctx->xb, ctx->secret, ctx->p.q, ctx->ctx);
401 BN_mod_mul(t1, gx, t3, ctx->p.p, ctx->ctx);
427 BN_mod_mul(t1, ctx->p.gxc, t2, ctx->p.p, ctx->ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/jpake/
H A Djpake.c204 BN_mod_mul(t, x, h, ctx->p.q, ctx->ctx);
232 BN_mod_mul(t3, t1, t2, ctx->p.p, ctx->ctx);
355 BN_mod_mul(t2, t1, ctx->p.gxc, ctx->p.p, ctx->ctx);
357 BN_mod_mul(t1, t2, ctx->p.gxd, ctx->p.p, ctx->ctx);
359 BN_mod_mul(t2, ctx->xb, ctx->secret, ctx->p.q, ctx->ctx);
401 BN_mod_mul(t1, gx, t3, ctx->p.p, ctx->ctx);
427 BN_mod_mul(t1, ctx->p.gxc, t2, ctx->p.p, ctx->ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/srp/
H A Dsrp_lib.c170 if (!BN_mod_mul(tmp, A, tmp, N, bn_ctx))
198 !BN_mod_mul(kv, v, k, N, bn_ctx) ||
277 if (!BN_mod_mul(tmp2, tmp, k, N, bn_ctx))
282 if (!BN_mod_mul(tmp3, u, x, N, bn_ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/srp/
H A Dsrp_lib.c170 if (!BN_mod_mul(tmp, A, tmp, N, bn_ctx))
198 !BN_mod_mul(kv, v, k, N, bn_ctx) ||
277 if (!BN_mod_mul(tmp2, tmp, k, N, bn_ctx))
282 if (!BN_mod_mul(tmp3, u, x, N, bn_ctx))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ecdsa/
H A Decs_ossl.c304 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) {
312 if (!BN_mod_mul(s, s, ckinv, order, ctx)) {
418 if (!BN_mod_mul(u1, m, u2, order, ctx)) {
423 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ecdsa/
H A Decs_ossl.c304 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) {
312 if (!BN_mod_mul(s, s, ckinv, order, ctx)) {
418 if (!BN_mod_mul(u1, m, u2, order, ctx)) {
423 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/rsa/
H A Drsa_chk.c140 r = BN_mod_mul(i, key->d, key->e, k, ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/rsa/
H A Drsa_chk.c122 r = BN_mod_mul(i, key->d, key->e, k, ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/rsa/
H A Drsa_chk.c140 r = BN_mod_mul(i, key->d, key->e, k, ctx);

Completed in 290 milliseconds

123