Searched refs:bn_result (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/ |
D | crypto_internal-modexp.c | 94 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; in crypto_mod_exp() local 100 bn_result = bignum_init(); in crypto_mod_exp() 103 bn_result == NULL) in crypto_mod_exp() 111 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0) in crypto_mod_exp() 114 ret = bignum_get_unsigned_bin(bn_result, result, result_len); in crypto_mod_exp() 120 bignum_deinit(bn_result); in crypto_mod_exp()
|
D | crypto_mbedtls.c | 615 mbedtls_mpi bn_base, bn_exp, bn_modulus, bn_result, bn_rinv; in crypto_mod_exp() local 621 mbedtls_mpi_init(&bn_result); in crypto_mod_exp() 628 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&bn_result, &bn_base, &bn_exp, &bn_modulus, in crypto_mod_exp() 631 ret = mbedtls_mpi_write_binary(&bn_result, result, *result_len); in crypto_mod_exp() 637 mbedtls_mpi_free(&bn_result); in crypto_mod_exp()
|