/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 | 327 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 | 276 message(bc_file.get(), "BN_mod_exp"); 1049 !BN_mod_exp(d.get(), a.get(), b.get(), c.get(), ctx)) { 1162 !BN_mod_exp(a.get(), e.get(), p.get(), m.get(), ctx)) { 1173 !BN_mod_exp(a.get(), e.get(), p.get(), m.get(), ctx)) { [all...] |
exponentiation.c | 561 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/boringssl/src/crypto/rsa/ |
blinding.c | 131 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:bn_blinding_st 286 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 317 if (bn_mod_exp != NULL) { 318 ret->bn_mod_exp = bn_mod_exp; 346 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) { 347 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) { 351 if (!BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)) { 444 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp,
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 399 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) 1011 res = BN_mod_exp((BIGNUM *) d, (const BIGNUM *) a, (const BIGNUM *) b, 1127 !BN_mod_exp(tmp, (const BIGNUM *) a, exp, (const BIGNUM *) p,
|
/external/boringssl/src/include/openssl/ |
bn.h | [all...] |
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 551 BN_mod_exp(toBigNum(r), toBigNum(a), toBigNum(p), toBigNum(m), ctx.get()); 594 NATIVE_METHOD(NativeBN, BN_mod_exp, "(JJJJ)V"),
|
/external/boringssl/src/crypto/dsa/ |
dsa_impl.c | 430 if (!BN_mod_exp(pub_key, dsa->g, &prk, dsa->p, ctx)) {
|
/external/boringssl/src/crypto/evp/ |
p_dsa_asn1.c | 254 if (!BN_mod_exp(dsa->pub_key, dsa->g, dsa->priv_key, dsa->p, ctx)) {
|