OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bn_exp
(Results
1 - 6
of
6
) sorted by relevancy
/src/external/bsd/wpa/dist/src/crypto/
crypto_internal-modexp.c
94
struct bignum *bn_base, *
bn_exp
, *bn_modulus, *bn_result;
local
98
bn_exp
= bignum_init();
102
if (bn_base == NULL ||
bn_exp
== NULL || bn_modulus == NULL ||
107
bignum_set_unsigned_bin(
bn_exp
, power, power_len) < 0 ||
111
if (bignum_exptmod(bn_base,
bn_exp
, bn_modulus, bn_result) < 0)
118
bignum_deinit(
bn_exp
);
crypto_nettle.c
380
mpz_t bn_base,
bn_exp
, bn_modulus, bn_result;
local
384
mpz_inits(bn_base,
bn_exp
, bn_modulus, bn_result, NULL);
386
mpz_import(
bn_exp
, power_len, 1, 1, 1, 0, power);
389
mpz_powm(bn_result, bn_base,
bn_exp
, bn_modulus);
398
mpz_clears(bn_base,
bn_exp
, bn_modulus, bn_result, NULL);
crypto_gnutls.c
366
gcry_mpi_t bn_base = NULL,
bn_exp
= NULL, bn_modulus = NULL,
local
372
gcry_mpi_scan(&
bn_exp
, GCRYMPI_FMT_USG, power, power_len, NULL) !=
379
gcry_mpi_powm(bn_result, bn_base,
bn_exp
, bn_modulus);
389
gcry_mpi_release(
bn_exp
);
crypto_openssl.c
814
BIGNUM *bn_base, *
bn_exp
, *bn_modulus, *bn_result;
local
823
bn_exp
= BN_bin2bn(power, power_len, NULL);
827
if (bn_base == NULL ||
bn_exp
== NULL || bn_modulus == NULL ||
831
if (BN_mod_exp_mont_consttime(bn_result, bn_base,
bn_exp
, bn_modulus,
840
BN_clear_free(
bn_exp
);
/src/crypto/external/bsd/openssl/lib/libcrypto/
Makefile
247
COPTS.
bn_exp
.c = -Wno-error=stack-protector
/src/crypto/external/apache2/openssl/lib/libcrypto/
Makefile
249
COPTS.
bn_exp
.c = -Wno-error=stack-protector
Completed in 18 milliseconds
Indexes created Tue Oct 13 00:33:13 UTC 2026