Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix psa_generate_random for >1024 bytes
mbedtls_ctr_drbg_random can only return up to MBEDTLS_CTR_DRBG_MAX_REQUEST (normally 1024) bytes at a time. So if more than that is requested, call mbedtls_ctr_drbg_random in a loop.
- Loading branch information