OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bn_modulus
(Results
1 - 3
of
3
) 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
26
bn_modulus
= bignum_init();
29
if (bn_base == NULL || bn_exp == NULL ||
bn_modulus
== NULL ||
35
bignum_set_unsigned_bin(
bn_modulus
, modulus, modulus_len) < 0)
38
if (bignum_exptmod(bn_base, bn_exp,
bn_modulus
, bn_result) < 0)
46
bignum_deinit(
bn_modulus
);
crypto_gnutls.c
159
gcry_mpi_t bn_base = NULL, bn_exp = NULL,
bn_modulus
= NULL,
local
167
gcry_mpi_scan(&
bn_modulus
, GCRYMPI_FMT_USG, modulus, modulus_len,
172
gcry_mpi_powm(bn_result, bn_base, bn_exp,
bn_modulus
);
183
gcry_mpi_release(
bn_modulus
);
crypto_openssl.c
475
BIGNUM *bn_base, *bn_exp, *
bn_modulus
, *bn_result;
local
485
bn_modulus
= BN_bin2bn(modulus, modulus_len, NULL);
488
if (bn_base == NULL || bn_exp == NULL ||
bn_modulus
== NULL ||
492
if (BN_mod_exp(bn_result, bn_base, bn_exp,
bn_modulus
, ctx) != 1)
501
BN_clear_free(
bn_modulus
);
[
all
...]
Completed in 518 milliseconds