Searched refs:bn_exp (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/contrib/wpa/src/crypto/
H A Dcrypto_internal-modexp.c21 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);
H A Dcrypto_gnutls.c159 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);
H A Dcrypto_openssl.c314 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
323 bn_exp = BN_bin2bn(power, power_len, NULL);
327 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
331 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
339 BN_free(bn_exp);
/freebsd-10.1-release/crypto/openssl/crypto/bn/
H A DMakefile25 LIBSRC= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
31 LIBOBJ= bn_add.o bn_div.o bn_exp.o bn_lib.o bn_ctx.o bn_mul.o bn_mod.o \
240 bn_exp.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
241 bn_exp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
242 bn_exp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
243 bn_exp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
244 bn_exp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
245 bn_exp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
246 bn_exp.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_exp
[all...]
/freebsd-10.1-release/secure/lib/libcrypto/
H A DMakefile83 bn_exp.c bn_exp2.c bn_gcd.c bn_gf2m.c bn_kron.c bn_lib.c bn_mod.c \

Completed in 101 milliseconds