/external/vboot_reference/host/lib/ |
D | util_misc.c | 100 BN_mod(RR, RRTemp, N, bn_ctx); in vb_keyb_from_rsa() 107 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ in vb_keyb_from_rsa() 118 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */ in vb_keyb_from_rsa()
|
/external/vboot_reference/utility/ |
D | dumpRSAPublicKey.c | 94 BN_mod(RR, RRTemp, N, bn_ctx); in output() 101 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ in output() 113 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */ in output()
|
/external/openssh/ |
D | rsa.c | 176 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || in rsa_generate_additional_parameters() 178 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0)) { in rsa_generate_additional_parameters()
|
D | auth-rsa.c | 86 if (BN_mod(challenge, challenge, key->rsa->n, ctx) == 0) in auth_rsa_generate_challenge()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 661 if (!BN_mod(r1, c, rsa->q, ctx)) { in mod_exp() 675 if (!BN_mod(r1, c, rsa->p, ctx)) { in mod_exp() 705 if (!BN_mod(r0, pr1, rsa->p, ctx)) { in mod_exp() 739 if (!BN_mod(vrfy, vrfy, rsa->n, ctx)) { in mod_exp() 898 if (!BN_mod(rsa->dmp1, d, r1, ctx)) { in keygen() 903 if (!BN_mod(rsa->dmq1, d, r2, ctx)) { in keygen()
|
D | rsa.c | 576 !BN_mod(&dmp1, key->d, &pm1, ctx) || in RSA_check_key() 578 !BN_mod(&dmq1, key->d, &qm1, ctx) || in RSA_check_key() 716 !BN_mod(rsa->dmp1, rsa->d, rem, ctx) || in RSA_recover_crt_params() 718 !BN_mod(rsa->dmq1, rsa->d, rem, ctx) || in RSA_recover_crt_params()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_impl.c | 155 if (!BN_mod(r, r, dsa->q, ctx)) { in sign_setup() 373 if (!BN_mod(&u1, &t1, dsa->q, ctx)) { in verify() 633 !BN_mod(c, X, r0, ctx) || in paramgen()
|
/external/boringssl/src/crypto/bn/ |
D | prime.c | 737 if (!BN_mod(t1, rnd, add, ctx)) { in probable_prime_dh() 795 if (!BN_mod(t1, q, qadd, ctx)) { in probable_prime_dh_safe()
|
D | div.c | 384 if (!(BN_mod(r, m, d, ctx))) { in BN_nnmod() 473 return BN_mod(r, r, m, ctx); in BN_mod_sqr()
|
D | exponentiation.c | 982 if (!BN_mod(&am, a, m, ctx) || in BN_mod_exp_mont_consttime() 1215 (BN_mod(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1)))) in BN_mod_exp_mont_word() 1414 if (!BN_mod(val1[0], a1, m, ctx)) { in BN_mod_exp2_mont() 1449 if (!BN_mod(val2[0], a2, m, ctx)) { in BN_mod_exp2_mont()
|
D | montgomery.c | 285 if (!BN_mod(&(mont->RR), &(mont->RR), &(mont->N), ctx)) { in BN_MONT_CTX_set()
|
D | bn_test.cc | 955 if (!BN_mod(c.get(), a.get(), b.get(), ctx)) { in test_mod()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 485 #define BN_mod(rem, numerator, divisor, ctx) \ macro
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 394 BN_mod(data->my_scalar, data->my_scalar, data->grp->order, in eap_pwd_perform_commit_exchange()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 220 BN_mod(data->my_scalar, data->my_scalar, data->grp->order, in eap_pwd_build_commit_req()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 992 res = BN_mod((BIGNUM *) c, (const BIGNUM *) a, (const BIGNUM *) b, in crypto_bignum_mod()
|