/external/wpa_supplicant_8/src/crypto/ |
crypto_internal-modexp.c | 21 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local 25 bn_exp = bignum_init(); 29 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || 34 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 || 38 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0) 45 bignum_deinit(bn_exp);
|
crypto_gnutls.c | 159 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, local 165 gcry_mpi_scan(&bn_exp, GCRYMPI_FMT_USG, power, power_len, NULL) != 172 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus); 182 gcry_mpi_release(bn_exp);
|
crypto_openssl.c | 261 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local 270 bn_exp = BN_bin2bn(power, power_len, NULL); 274 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || 278 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) 286 BN_free(bn_exp);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_gnutls.c | 171 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, local 177 gcry_mpi_scan(&bn_exp, GCRYMPI_FMT_USG, power, power_len, NULL) != 184 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus); 194 gcry_mpi_release(bn_exp);
|
crypto_openssl.c | 217 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local 226 bn_exp = BN_bin2bn(power, power_len, NULL); 230 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || 234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) 242 BN_free(bn_exp);
|
crypto_internal.c | 803 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local 807 bn_exp = bignum_init(); 811 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || 816 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 || 820 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0) 827 bignum_deinit(bn_exp);
|
/libcore/luni/src/main/java/java/math/ |
NativeBN.java | 131 public static native boolean BN_exp(int r, int a, int p); 132 // int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
|
BigInt.java | 324 Check(NativeBN.BN_exp(r.bignum, a.bignum, p.bignum));
|
/external/openssl/crypto/bn/ |
bn_err.c | 87 {ERR_FUNC(BN_F_BN_EXP), "BN_exp"},
|
bntest.c | 254 message(out,"BN_exp"); 947 BN_exp(e,a,b,ctx); 998 BN_exp(e,a,b,ctx); 1032 if (BN_exp(d,a,b,ctx) <= 0) [all...] |
bn_exp.c | 1 /* crypto/bn/bn_exp.c */ 132 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
|
bn.h | 496 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,BN_CTX *ctx); [all...] |
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 475 return BN_exp(r, a, p, ctx.get()); 526 NATIVE_METHOD(NativeBN, BN_exp, "(III)Z"),
|
/external/openssl/ |
Crypto.mk | 152 crypto/bn/bn_exp.c \
|
/external/openssl/crypto/bn/asm/ |
x86_64-mont5.pl | 18 # bn_exp.c modifications.
|
/external/openssl/include/openssl/ |
bn.h | 496 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,BN_CTX *ctx); [all...] |