Home
last modified time | relevance | path

Searched refs:BN_mod_mul (Results 1 – 12 of 12) sorted by relevance

/external/boringssl/src/crypto/bn/
Dsqrt.c207 if (!BN_mod_mul(t, t, y, p, ctx) || in BN_mod_sqrt()
213 if (!BN_mod_mul(x, A, b, p, ctx) || in BN_mod_sqrt()
214 !BN_mod_mul(x, x, t, p, ctx)) { in BN_mod_sqrt()
344 !BN_mod_mul(b, b, A, p, ctx)) { in BN_mod_sqrt()
349 if (!BN_mod_mul(x, x, A, p, ctx)) { in BN_mod_sqrt()
383 if (!BN_mod_mul(t, t, t, p, ctx)) { in BN_mod_sqrt()
398 if (!BN_mod_mul(y, t, t, p, ctx) || in BN_mod_sqrt()
399 !BN_mod_mul(x, x, t, p, ctx) || in BN_mod_sqrt()
400 !BN_mod_mul(b, b, y, p, ctx)) { in BN_mod_sqrt()
Dprime.c617 if (!BN_mod_mul(w, w, w, a, ctx)) { /* w := w^2 mod a */ in witness()
Ddiv.c435 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() function
Dbn_test.cc926 if (!BN_mod_mul(d.get(), a.get(), b.get(), n.get(), ctx) || in test_mont()
999 if (!BN_mod_mul(e.get(), a.get(), b.get(), c.get(), ctx)) { in test_mod_mul()
/external/boringssl/src/crypto/rsa/
Dblinding.c208 if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) { in BN_BLINDING_update()
211 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx)) { in BN_BLINDING_update()
250 if (!BN_mod_mul(n, n, b->A, b->mod, ctx)) { in BN_BLINDING_convert_ex()
266 ret = BN_mod_mul(n, n, r, b->mod, ctx); in BN_BLINDING_invert_ex()
272 ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx); in BN_BLINDING_invert_ex()
Drsa.c552 !BN_mod_mul(&de, key->d, key->e, &lcm, ctx)) { in RSA_check_key()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c197 if (!BN_mod_mul(u1, m, u2, order, ctx)) { in ECDSA_do_verify()
202 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) { in ECDSA_do_verify()
415 if (!BN_mod_mul(tmp, priv_key, ret->r, order, ctx)) { in ECDSA_do_sign_ex()
423 if (!BN_mod_mul(s, s, ckinv, order, ctx)) { in ECDSA_do_sign_ex()
/external/boringssl/src/crypto/dsa/
Ddsa_impl.c239 if (!BN_mod_mul(&xr, dsa->priv_key, r, dsa->q, ctx)) { in sign()
250 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) { in sign()
350 if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx)) { in verify()
355 if (!BN_mod_mul(&u2, sig->r, &u2, dsa->q, ctx)) { in verify()
/external/boringssl/src/crypto/ec/
Doct.c361 !BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) { in ec_GFp_simple_set_compressed_coordinates()
376 !BN_mod_mul(tmp2, tmp2, x, &group->field, ctx)) { in ec_GFp_simple_set_compressed_coordinates()
Dsimple.c321 !BN_mod_mul(tmp_2, tmp_1, a, p, ctx) || in ec_GFp_simple_group_check_discriminant()
589 } else if (!BN_mod_mul(Z_3, Z_2, Z_1, &group->field, ctx)) { in ec_GFp_simple_point_get_affine_coordinates()
1355 return BN_mod_mul(r, a, b, &group->field, ctx); in ec_GFp_simple_field_mul()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1077 res = BN_mod_mul((BIGNUM *) d, (const BIGNUM *) a, (const BIGNUM *) b, in crypto_bignum_mulmod()
1390 BN_mod_mul(tmp, tmp, (const BIGNUM *) x, e->prime, e->bnctx) && in crypto_ec_point_compute_y_sqr()
1391 BN_mod_mul(tmp2, e->a, (const BIGNUM *) x, e->prime, e->bnctx) && in crypto_ec_point_compute_y_sqr()
/external/boringssl/src/include/openssl/
Dbn.h516 OPENSSL_EXPORT int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,