|
|
|
@ -143,3 +143,15 @@ diff -up openssl-3.0.1/providers/implementations/rands/crngt.c.fipsrand openssl-
|
|
|
|
|
if (bytes_needed < min_len)
|
|
|
|
|
bytes_needed = min_len;
|
|
|
|
|
if (bytes_needed > max_len)
|
|
|
|
|
diff -up openssl-3.0.7/providers/implementations/rands/drbg_local.h.drbg openssl-3.0.7/providers/implementations/rands/drbg_local.h
|
|
|
|
|
--- openssl-3.0.7/providers/implementations/rands/drbg_local.h.drbg 2023-03-13 12:17:47.705538612 +0100
|
|
|
|
|
+++ openssl-3.0.7/providers/implementations/rands/drbg_local.h 2023-03-13 12:18:03.060702092 +0100
|
|
|
|
|
@@ -38,7 +38,7 @@
|
|
|
|
|
*
|
|
|
|
|
* The value is in bytes.
|
|
|
|
|
*/
|
|
|
|
|
-#define CRNGT_BUFSIZ 16
|
|
|
|
|
+#define CRNGT_BUFSIZ 32
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Maximum input size for the DRBG (entropy, nonce, personalization string)
|
|
|
|
|