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

  /external/wpa_supplicant_8/src/crypto/
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);
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);
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);
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_openssl.c 217 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
226 bn_exp = BN_bin2bn(power, power_len, NULL);
230 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
242 BN_free(bn_exp);
crypto_gnutls.c 171 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, local
177 gcry_mpi_scan(&bn_exp, GCRYMPI_FMT_USG, power, power_len, NULL) !=
184 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
194 gcry_mpi_release(bn_exp);
crypto_internal.c 803 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
807 bn_exp = bignum_init();
811 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
816 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 ||
820 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
827 bignum_deinit(bn_exp);
  /external/wpa_supplicant/
crypto_internal.c 635 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
639 bn_exp = bignum_init();
643 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
648 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 ||
652 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
659 bignum_deinit(bn_exp);
  /external/openssl/crypto/
Android.mk 140 bn/bn_exp.c \
  /external/openssl/patches/
crypto_Android.mk 140 bn/bn_exp.c \

Completed in 109 milliseconds