summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/hmac_drbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/hmac_drbg.h')
-rw-r--r--src/include/ipxe/hmac_drbg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ipxe/hmac_drbg.h b/src/include/ipxe/hmac_drbg.h
index c751cbcb6..b3dfe3682 100644
--- a/src/include/ipxe/hmac_drbg.h
+++ b/src/include/ipxe/hmac_drbg.h
@@ -59,9 +59,9 @@ FILE_LICENCE ( GPL2_OR_LATER );
* according to ANS X9.82 Part 3-2007 Section 10.2.1 Table 2 (NIST SP
* 800-90 Section 10.1 Table 2).
*
- * We choose to allow up to 2^32-1 bytes (i.e. 2^35-8 bits).
+ * We choose to allow up to 32 bytes.
*/
-#define HMAC_DRBG_MAX_ENTROPY_LEN_BYTES 0xffffffffUL
+#define HMAC_DRBG_MAX_ENTROPY_LEN_BYTES 32
/** Maximum personalisation string length
*