mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-04 23:42:42 +03:00
The function mbedtls_ecp_gen_keypair_base did not wipe the stack buffer used to hold the private exponent before returning. This commit fixes this by not using a stack buffer in the first place but instead calling mpi_fill_random directly to acquire the necessary random MPI.
66 KiB
66 KiB