/libcore/luni/src/main/java/java/math/ |
NativeBN.java | 115 public static native void BN_mod_exp(long r, long a, long p, long m); 116 // int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx);
|
BigInt.java | 323 NativeBN.BN_mod_exp(r.bignum, a.bignum, p.bignum, m.bignum);
|
/external/boringssl/src/crypto/bn/ |
sqrt.c | 152 !BN_mod_exp(ret, A, q, p, ctx)) { 197 if (!BN_mod_exp(b, t, q, p, ctx)) { 285 if (!BN_mod_exp(y, y, q, p, ctx)) { 331 if (!BN_mod_exp(x, A, t, p, ctx)) {
|
bn_test.cc | 281 message(bc_file.get(), "BN_mod_exp"); 1081 if (BN_mod_exp(d.get(), a.get(), b.get(), c.get(), ctx)) { 1082 fprintf(stderr, "BN_mod_exp with zero modulus succeeded!\n"); 1093 !BN_mod_exp(d.get(), a.get(), b.get(), c.get(), ctx)) { 1129 !BN_mod_exp(d.get(), a.get(), b.get(), c.get(), ctx) || 1134 fprintf(stderr, "BN_mod_exp and BN_mul produce different results!\n"); [all...] |
exponentiation.c | 576 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, [all...] |
/external/boringssl/src/crypto/dh/ |
check.c | 128 if (!BN_mod_exp(t1, dh->g, dh->q, dh->p, ctx)) {
|
/external/tpm2/ |
RSAKeySieve.c | 288 if(BN_mod_exp(bnZ, bnB, bnM, bnW, context) != 1) 926 || BN_mod_exp(bnQ, bnP, bnE, bnN, context) != 1 928 || BN_mod_exp(bnQ, bnQ, bnT, bnN, context) != 1)
|
MathFunctions.c | 478 if(!(BN_mod_exp(bnC, bnM, bnE, bnN, context)))
|
CpriRSA.c | [all...] |
CpriECC.c | 630 || !BN_mod_exp(bnX, bnX, bn3, bnP, context) [all...] |
/external/boringssl/src/crypto/rsa/ |
blinding.c | 133 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:bn_blinding_st 288 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 319 if (bn_mod_exp != NULL) { 320 ret->bn_mod_exp = bn_mod_exp; 348 if (ret->bn_mod_exp != NULL && ret->mont != NULL) { 349 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->mont)) { 353 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)) { 445 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp,
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 468 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) 1095 res = BN_mod_exp((BIGNUM *) d, (const BIGNUM *) a, (const BIGNUM *) b, 1224 !BN_mod_exp(tmp, (const BIGNUM *) a, exp, (const BIGNUM *) p,
|
/external/boringssl/src/crypto/evp/ |
p_dsa_asn1.c | 226 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) {
|
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 555 BN_mod_exp(toBigNum(r), toBigNum(a), toBigNum(p), toBigNum(m), ctx.get()); 598 NATIVE_METHOD(NativeBN, BN_mod_exp, "(JJJJ)V"),
|
/external/boringssl/src/include/openssl/ |
bn.h | [all...] |
/external/boringssl/src/crypto/dsa/ |
dsa.c | 432 if (!BN_mod_exp(pub_key, dsa->g, &prk, dsa->p, ctx)) {
|