OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bn_exp
(Results
1 - 5
of
5
) sorted by null
/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
317
BIGNUM *bn_base, *
bn_exp
, *bn_modulus, *bn_result;
local
326
bn_exp
= BN_bin2bn(power, power_len, NULL);
330
if (bn_base == NULL ||
bn_exp
== NULL || bn_modulus == NULL ||
334
if (BN_mod_exp(bn_result, bn_base,
bn_exp
, bn_modulus, ctx) != 1)
342
BN_free(
bn_exp
);
/hardware/samsung_slsi/exynos5/libkeymaster/
keymaster_mobicore.cpp
272
Unique_BIGNUM
bn_exp
(BN_new());
273
if (
bn_exp
.get() == NULL) {
279
BN_bin2bn(binExpPtr.get(), bin_exp_len,
bn_exp
.get());
291
rsa_tmp->e =
bn_exp
.release();
/external/openssl/
Crypto-config.mk
149
crypto/bn/
bn_exp
.c \
Completed in 27 milliseconds