HomeSort by relevance Sort by last modified time
    Searched refs:bn_result (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
27 bn_result = bignum_init();
30 bn_result == NULL)
38 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
41 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
47 bignum_deinit(bn_result);
crypto_gnutls.c 163 bn_result = NULL; local
173 bn_result = gcry_mpi_new(modulus_len * 8);
175 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
178 bn_result) != GPG_ERR_NO_ERROR)
187 gcry_mpi_release(bn_result);
crypto_openssl.c 490 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
501 bn_result = BN_new();
504 bn_result == NULL)
507 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
510 *result_len = BN_bn2bin(bn_result, result);
517 BN_clear_free(bn_result);
    [all...]

Completed in 80 milliseconds