Add a note about CTR_DRBG security strength to config.h

This commit is contained in:
Gilles Peskine 2019-10-03 14:21:39 +02:00 committed by Simon Butcher
parent e1dc2de900
commit 5953660a6a

View File

@ -2525,6 +2525,10 @@
* The CTR_DRBG generator uses AES-256 by default.
* To use AES-128 instead, enable \c MBEDTLS_CTR_DRBG_USE_128_BIT_KEY above.
*
* \note To achieve a 256-bit security strength with CTR_DRBG,
* you must use AES-256 *and* use sufficient entropy.
* See ctr_drbg.h for more details.
*
* Module: library/ctr_drbg.c
* Caller:
*