Searched refs:bn_exp (Results 1 - 4 of 4) sorted by relevance
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/crypto/ |
H A D | crypto_internal-modexp.c | 27 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local 31 bn_exp = bignum_init(); 35 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || 40 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 || 44 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0) 51 bignum_deinit(bn_exp);
|
H A D | crypto_gnutls.c | 165 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, local 171 gcry_mpi_scan(&bn_exp, GCRYMPI_FMT_USG, power, power_len, NULL) != 178 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus); 188 gcry_mpi_release(bn_exp);
|
H A D | crypto_openssl.c | 267 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local 276 bn_exp = BN_bin2bn(power, power_len, NULL); 280 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL || 284 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1) 292 BN_free(bn_exp);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/bn/ |
H A D | Makefile | 25 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 \ 238 bn_exp.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h 239 bn_exp.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 240 bn_exp.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 241 bn_exp.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 242 bn_exp.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 243 bn_exp.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 244 bn_exp.o: ../../include/openssl/symhacks.h ../cryptlib.h bn_exp [all...] |
Completed in 87 milliseconds