OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bn_result
(Results
1 - 4
of
4
) 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
100
bn_result
= bignum_init();
103
bn_result
== NULL)
111
if (bignum_exptmod(bn_base, bn_exp, bn_modulus,
bn_result
) < 0)
114
ret = bignum_get_unsigned_bin(
bn_result
, result, result_len);
120
bignum_deinit(
bn_result
);
crypto_gnutls.c
367
bn_result
= NULL;
local
377
bn_result
= gcry_mpi_new(modulus_len * 8);
379
gcry_mpi_powm(
bn_result
, bn_base, bn_exp, bn_modulus);
382
bn_result
) != GPG_ERR_NO_ERROR)
391
gcry_mpi_release(
bn_result
);
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);
389
mpz_powm(
bn_result
, bn_base, bn_exp, bn_modulus);
390
len = mpz_sizeinbase(
bn_result
, 2);
394
mpz_export(result, result_len, 1, 1, 1, 0,
bn_result
);
398
mpz_clears(bn_base, bn_exp, bn_modulus,
bn_result
, NULL);
crypto_openssl.c
814
BIGNUM *bn_base, *bn_exp, *bn_modulus, *
bn_result
;
local
825
bn_result
= BN_new();
828
bn_result
== NULL)
831
if (BN_mod_exp_mont_consttime(
bn_result
, bn_base, bn_exp, bn_modulus,
835
*result_len = BN_bn2bin(
bn_result
, result);
842
BN_clear_free(
bn_result
);
Completed in 74 milliseconds
Indexes created Fri Mar 27 00:22:57 UTC 2026