Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'

mbedtls: upgrade to release v2.16.5 (v4.0)

See merge request espressif/esp-idf!7987
This commit is contained in:
Mahavir Jain
2020-03-24 13:46:34 +08:00
2 changed files with 6 additions and 5 deletions

View File

@ -421,6 +421,7 @@ int crypto_ec_point_mul(struct crypto_ec *e, const struct crypto_ec_point *p,
mbedtls_ctr_drbg_context ctr_drbg;
mbedtls_entropy_init(&entropy);
mbedtls_ctr_drbg_init(&ctr_drbg);
MBEDTLS_MPI_CHK(mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy,
NULL, 0));