Lines Matching refs:DEFAULT_PRNG_KSZ
26 #define DEFAULT_PRNG_KSZ 16 macro
296 klen = DEFAULT_PRNG_KSZ; in reset_prng_context()
339 if (reset_prng_context(ctx, NULL, DEFAULT_PRNG_KSZ, NULL, NULL) < 0) in cprng_init()
376 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in cprng_reset()
379 if (slen >= (2 * DEFAULT_BLK_SZ + DEFAULT_PRNG_KSZ)) in cprng_reset()
380 dt = key + DEFAULT_PRNG_KSZ; in cprng_reset()
382 reset_prng_context(prng, key, DEFAULT_PRNG_KSZ, seed, dt); in cprng_reset()
406 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in fips_cprng_reset()
410 if (!memcmp(seed, key, DEFAULT_PRNG_KSZ)) in fips_cprng_reset()
441 .seedsize = DEFAULT_PRNG_KSZ + 2*DEFAULT_BLK_SZ,
459 .seedsize = DEFAULT_PRNG_KSZ + 2*DEFAULT_BLK_SZ,