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

  /external/wpa_supplicant_8/src/crypto/
crypto_internal-modexp.c 21 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
24 bn_base = bignum_init();
29 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
33 if (bignum_set_unsigned_bin(bn_base, base, base_len) < 0 ||
38 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
44 bignum_deinit(bn_base);
crypto_gnutls.c 162 gcry_mpi_t bn_base = NULL, bn_exp = NULL, bn_modulus = NULL, local
166 if (gcry_mpi_scan(&bn_base, GCRYMPI_FMT_USG, base, base_len, NULL) !=
175 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
184 gcry_mpi_release(bn_base);
crypto_openssl.c 490 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
498 bn_base = BN_bin2bn(base, base_len, NULL);
503 if (bn_base == NULL || bn_exp == NULL || bn_modulus == NULL ||
507 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
514 BN_clear_free(bn_base);
    [all...]

Completed in 66 milliseconds