Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/wpa/dist/src/crypto/
H A Dcrypto_internal-modexp.c94 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp() local
99 bn_modulus = bignum_init(); in crypto_mod_exp()
102 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || in crypto_mod_exp()
108 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0) in crypto_mod_exp()
111 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0) in crypto_mod_exp()
119 bignum_deinit(bn_modulus); in crypto_mod_exp()