/openssl-master/crypto/bn/ |
A D | bn_sqrt.c | 151 if (!BN_mod_mul(t, t, y, p, ctx)) in BN_mod_sqrt() 157 if (!BN_mod_mul(x, A, b, p, ctx)) in BN_mod_sqrt() 159 if (!BN_mod_mul(x, x, t, p, ctx)) in BN_mod_sqrt() 281 if (!BN_mod_mul(b, b, A, p, ctx)) in BN_mod_sqrt() 285 if (!BN_mod_mul(x, x, A, p, ctx)) in BN_mod_sqrt() 316 if (!BN_mod_mul(t, t, t, p, ctx)) in BN_mod_sqrt() 327 if (!BN_mod_mul(y, t, t, p, ctx)) in BN_mod_sqrt() 329 if (!BN_mod_mul(x, x, t, p, ctx)) in BN_mod_sqrt() 331 if (!BN_mod_mul(b, b, y, p, ctx)) in BN_mod_sqrt()
|
A D | bn_blind.c | 116 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update() 117 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 157 ret = BN_mod_mul(n, n, b->A, b->mod, ctx); in BN_BLINDING_convert_ex() 196 ret = BN_mod_mul(n, n, r, b->mod, ctx); in BN_BLINDING_invert_ex()
|
A D | bn_prime.c | 413 if (!BN_copy(x, z) || !BN_mod_mul(z, x, x, w, ctx)) in ossl_bn_miller_rabin_is_prime() 424 if (!BN_copy(x, z) || !BN_mod_mul(z, x, x, w, ctx)) in ossl_bn_miller_rabin_is_prime()
|
A D | bn_exp.c | 1319 if (!BN_mod_mul(d, val[0], val[0], m, ctx)) in BN_mod_exp_simple() 1324 !BN_mod_mul(val[i], val[i - 1], d, m, ctx)) in BN_mod_exp_simple() 1342 if (!BN_mod_mul(r, r, r, m, ctx)) in BN_mod_exp_simple() 1371 if (!BN_mod_mul(r, r, r, m, ctx)) in BN_mod_exp_simple() 1376 if (!BN_mod_mul(r, r, val[wvalue >> 1], m, ctx)) in BN_mod_exp_simple()
|
A D | bn_mod.c | 197 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() function
|
/openssl-master/crypto/dsa/ |
A D | dsa_ossl.c | 143 if (!BN_mod_mul(tmp, blind, dsa->priv_key, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 145 if (!BN_mod_mul(tmp, tmp, ret->r, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 149 if (!BN_mod_mul(blindm, blind, m, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 157 if (!BN_mod_mul(ret->s, ret->s, kinv, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 163 if (!BN_mod_mul(ret->s, ret->s, blind, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 383 if (!BN_mod_mul(u1, u1, u2, dsa->params.q, ctx)) in dsa_do_verify() 387 if (!BN_mod_mul(u2, r, u2, dsa->params.q, ctx)) in dsa_do_verify()
|
/openssl-master/crypto/rsa/ |
A D | rsa_sp800_56b_check.c | 65 && BN_mod_mul(r, rsa->dmp1, rsa->e, p1, ctx) in ossl_rsa_check_crt_components() 68 && BN_mod_mul(r, rsa->dmq1, rsa->e, q1, ctx) in ossl_rsa_check_crt_components() 71 && BN_mod_mul(r, rsa->iqmp, rsa->q, rsa->p, ctx) in ossl_rsa_check_crt_components() 209 && BN_mod_mul(r, rsa->e, rsa->d, lcm, ctx) in ossl_rsa_check_private_exponent()
|
A D | rsa_chk.c | 146 if (!BN_mod_mul(i, key->d, key->e, k, ctx)) { in rsa_validate_keypair_multiprime()
|
/openssl-master/crypto/srp/ |
A D | srp_lib.c | 92 if (!BN_mod_mul(tmp, A, tmp, N, bn_ctx)) in SRP_Calc_server_key() 125 || !BN_mod_mul(kv, v, k, N, bn_ctx) in SRP_Calc_B_ex() 236 if (!BN_mod_mul(tmp2, tmp, k, N, bn_ctx)) in SRP_Calc_client_key_ex()
|
/openssl-master/doc/man3/ |
A D | BN_add.pod | 6 BN_mod_sub, BN_mod_mul, BN_mod_sqr, BN_exp, BN_mod_exp, BN_gcd - 34 int BN_mod_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, const BIGNUM *m, 80 BN_mod_mul() multiplies I<a> by I<b> and finds the nonnegative
|
A D | BN_mod_mul_reciprocal.pod | 27 L<BN_mod_mul(3)> operation when the operation will be performed
|
/openssl-master/crypto/ec/ |
A D | ecp_oct.c | 65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates() 81 if (!BN_mod_mul(tmp2, tmp2, x, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
|
A D | ecdsa_ossl.c | 429 if (!BN_mod_mul(u1, m, u2, order, ctx)) { in ossl_ecdsa_simple_verify_sig() 434 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) { in ossl_ecdsa_simple_verify_sig()
|
A D | ecp_smpl.c | 297 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) in ossl_ec_GFp_simple_group_check_discriminant() 592 if (!BN_mod_mul(Z_3, Z_2, Z_1, group->field, ctx)) in ossl_ec_GFp_simple_point_get_affine_coordinates() 1368 return BN_mod_mul(r, a, b, group->field, ctx); in ossl_ec_GFp_simple_field_mul()
|
/openssl-master/crypto/sm2/ |
A D | sm2_sign.c | 279 || !BN_mod_mul(tmp, dA, r, order, ctx) in sm2_sig_gen() 281 || !BN_mod_mul(s, s, tmp, order, ctx)) { in sm2_sig_gen()
|
/openssl-master/include/openssl/ |
A D | bn.h | 281 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
|
/openssl-master/test/ |
A D | bntest.c | 1560 if (!TEST_true(BN_mod_mul(ret, a, b, m, ctx)) in file_modmul() 2221 if (!TEST_false(BN_mod_mul(a, BN_value_one(), BN_value_one(), zero, ctx))) in test_badmod()
|
/openssl-master/util/ |
A D | libcrypto.num | 2444 BN_mod_mul 2496 3_0_0 EXIST::FUNCTION:
|
/openssl-master/ |
A D | CHANGES.md | 12780 EC_GFp_simple_method() uses the basic BN_mod_mul and BN_mod_sqr 13535 * Change BN_mod_mul so that the result is always non-negative.
|