HomeSort by relevance Sort by last modified time
    Searched defs:bn_exp (Results 1 - 5 of 5) sorted by null

  /external/wpa_supplicant_8/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_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_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_openssl.c 594 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
603 bn_exp = BN_bin2bn(power, power_len, NULL);
607 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
611 if (BN_mod_exp_mont_consttime(bn_result, bn_base, bn_exp, bn_modulus,
620 BN_clear_free(bn_exp);
    [all...]
  /external/epid-sdk/epid/common/math/unittests/
ffelement-test.cc 2429 BigNumObj bn_exp[1]; local
2452 BigNumObj bn_exp[2]; local
2474 BigNumObj bn_exp[3]; local
2497 BigNumObj bn_exp[4]; local
2544 BigNumObj bn_exp[5]; local
2567 BigNumObj bn_exp[6]; local
2590 BigNumObj bn_exp[3]; local
    [all...]

Completed in 145 milliseconds