developer | 67cb0a8 | 2023-12-25 23:36:27 +0800 | [diff] [blame] | 1 | --- a/lib/kcapi-rng.c |
2 | +++ b/lib/kcapi-rng.c | ||||
developer | d042eba | 2023-11-14 14:23:39 +0800 | [diff] [blame] | 3 | @@ -181,7 +181,7 @@ static int get_random(uint8_t *buf, size |
4 | } | ||||
5 | |||||
6 | /* For efficiency reasons, this should be identical to algif_rng.c:MAXSIZE. */ | ||||
7 | -#define KCAPI_RNG_BUFSIZE 128 | ||||
8 | +#define KCAPI_RNG_BUFSIZE 256 | ||||
9 | /* Minimum seed is 256 bits. */ | ||||
10 | #define KCAPI_RNG_MINSEEDSIZE 32 | ||||
11 | #define KCAPI_APP_ALIGN 8 |