/external/vboot_reference/host/lib/ |
util_misc.c | 100 BN_mod(RR, RRTemp, N, bn_ctx); 107 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ 118 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */
|
/external/vboot_reference/utility/ |
dumpRSAPublicKey.c | 94 BN_mod(RR, RRTemp, N, bn_ctx); 101 BN_mod(n, N, B, bn_ctx); /* n = N mod B */ 113 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */
|
/external/boringssl/src/crypto/rsa/ |
rsa_impl.c | 667 if (!BN_mod(r1, c, rsa->q, ctx)) { 681 if (!BN_mod(r1, c, rsa->p, ctx)) { 711 if (!BN_mod(r0, pr1, rsa->p, ctx)) { 744 if (!BN_mod(r1, c, prime, ctx)) { 761 !BN_mod(m1, m1, prime, ctx) || 780 if (!BN_mod(vrfy, vrfy, rsa->n, ctx)) { 1054 if (!BN_mod(rsa->dmp1, d, r1, ctx)) { 1059 if (!BN_mod(rsa->dmq1, d, r2, ctx)) { 1075 !BN_mod(ap->exp, rsa->d, ap->exp, ctx) ||
|
rsa.c | 630 !BN_mod(&dmp1, key->d, &pm1, ctx) || 632 !BN_mod(&dmq1, key->d, &qm1, ctx) || 774 !BN_mod(rsa->dmp1, rsa->d, rem, ctx) || 776 !BN_mod(rsa->dmq1, rsa->d, rem, ctx) ||
|
/external/boringssl/src/crypto/bn/ |
div.c | 384 if (!(BN_mod(r, m, d, ctx))) { 473 return BN_mod(r, r, m, ctx);
|
prime.c | 736 if (!BN_mod(t1, rnd, add, ctx)) { 794 if (!BN_mod(t1, q, qadd, ctx)) { [all...] |
exponentiation.c | 995 if (!BN_mod(&am, a, m, ctx) || [all...] |
montgomery.c | 281 if (!BN_mod(&(mont->RR), &(mont->RR), &(mont->N), ctx)) {
|
bn_test.cc | 263 message(bc_file.get(), "BN_mod"); 976 if (!BN_mod(c.get(), a.get(), b.get(), ctx)) { [all...] |
/external/boringssl/src/crypto/dsa/ |
dsa.c | 301 !BN_mod(c, X, r0, ctx) || 667 if (!BN_mod(&u1, &t1, dsa->q, ctx)) { 829 if (!BN_mod(r, r, dsa->q, ctx)) {
|
/external/tpm2/ |
CpriECC.c | 727 || BN_mod(bnD, bnD, bnNm1, context) != 1) [all...] |
/external/boringssl/src/include/openssl/ |
bn.h | 503 /* BN_mod is a helper macro that calls |BN_div| and discards the quotient. */ 504 #define BN_mod(rem, numerator, divisor, ctx) \ 507 /* BN_nnmod is a non-negative modulo function. It acts like |BN_mod|, but 0 <= [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 1073 res = BN_mod((BIGNUM *) c, (const BIGNUM *) a, (const BIGNUM *) b,
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_pwd.c | 401 BN_mod(data->my_scalar, data->my_scalar, data->grp->order,
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_pwd.c | 225 BN_mod(data->my_scalar, data->my_scalar, data->grp->order,
|