blob: 60cd92b08c8c2a236a102036d789e96ae82dbe02 [file] [log] [blame]
--- a/libkcapi/lib/kcapi-rng.c
+++ b/libkcapi/lib/kcapi-rng.c
@@ -181,7 +181,7 @@ static int get_random(uint8_t *buf, size
}
/* For efficiency reasons, this should be identical to algif_rng.c:MAXSIZE. */
-#define KCAPI_RNG_BUFSIZE 128
+#define KCAPI_RNG_BUFSIZE 256
/* Minimum seed is 256 bits. */
#define KCAPI_RNG_MINSEEDSIZE 32
#define KCAPI_APP_ALIGN 8