Home
last modified time | relevance | path

Searched refs:bn_exp (Results 1 – 22 of 22) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-modexp.c21 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp() local
25 bn_exp = bignum_init(); in crypto_mod_exp()
29 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || in crypto_mod_exp()
34 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 || in crypto_mod_exp()
38 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0) in crypto_mod_exp()
45 bignum_deinit(bn_exp); in crypto_mod_exp()
Dcrypto_gnutls.c159 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, in crypto_mod_exp() local
165 gcry_mpi_scan(&bn_exp, GCRYMPI_FMT_USG, power, power_len, NULL) != in crypto_mod_exp()
172 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus); in crypto_mod_exp()
182 gcry_mpi_release(bn_exp); in crypto_mod_exp()
Dcrypto_openssl.c319 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp() local
328 bn_exp = BN_bin2bn(power, power_len, NULL); in crypto_mod_exp()
332 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || in crypto_mod_exp()
336 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) in crypto_mod_exp()
344 BN_clear_free(bn_exp); in crypto_mod_exp()
/external/openssl/
Dopenssl.trusty.config124 crypto/bn/bn_exp.c \
DCrypto-config-trusty.mk61 crypto/bn/bn_exp.c \
DCrypto-config-target.mk138 crypto/bn/bn_exp.c \
DCrypto-config-host.mk138 crypto/bn/bn_exp.c \
Dopenssl.config445 crypto/bn/bn_exp.c \
/external/chromium_org/third_party/openssl/openssl/
DCrypto-config.mk149 crypto/bn/bn_exp.c \
Dopenssl.config.orig413 crypto/bn/bn_exp.c \
Dopenssl.config429 crypto/bn/bn_exp.c \
/external/chromium_org/third_party/openssl/
Dopenssl.gypi135 'openssl/crypto/bn/bn_exp.c',
Dopenssl.target.darwin-arm64.mk154 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.darwin-mips.mk152 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.darwin-x86.mk149 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.darwin-x86_64.mk150 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.linux-x86_64.mk150 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.linux-arm.mk153 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.linux-x86.mk149 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.linux-arm64.mk154 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.darwin-arm.mk153 third_party/openssl/openssl/crypto/bn/bn_exp.c \
Dopenssl.target.linux-mips.mk152 third_party/openssl/openssl/crypto/bn/bn_exp.c \