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

  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_openssl.c 217 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
225 bn_base = BN_bin2bn(base, base_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)
241 BN_free(bn_base);
crypto_gnutls.c 171 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, local
175 if (gcry_mpi_scan(&bn_base, GCRYMPI_FMT_USG, base, base_len, NULL) !=
184 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
193 gcry_mpi_release(bn_base);
crypto_internal.c 803 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
806 bn_base = bignum_init();
811 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
815 if (bignum_set_unsigned_bin(bn_base, base, base_len) < 0 ||
820 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
826 bignum_deinit(bn_base);
  /external/wpa_supplicant/
crypto_internal.c 635 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
638 bn_base = bignum_init();
643 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
647 if (bignum_set_unsigned_bin(bn_base, base, base_len) < 0 ||
652 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
658 bignum_deinit(bn_base);

Completed in 542 milliseconds