Skip to content

Commit 7e27936

Browse files
Add a note about CTR_DRBG security strength to config.h
1 parent 1540e5b commit 7e27936

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/mbedtls/config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,10 @@
13041304
* The CTR_DRBG generator uses AES-256 by default.
13051305
* To use AES-128 instead, enable \c MBEDTLS_CTR_DRBG_USE_128_BIT_KEY above.
13061306
*
1307+
* \note To achieve a 256-bit security strength with CTR_DRBG,
1308+
* you must use AES-256 *and* use sufficient entropy.
1309+
* See ctr_drbg.h for more details.
1310+
*
13071311
* Module: library/ctr_drbg.c
13081312
* Caller:
13091313
*

0 commit comments

Comments
 (0)