Home
last modified time | relevance | path

Searched refs:DEFAULT_PRNG_KSZ (Results 1 – 1 of 1) sorted by relevance

/crypto/
Dansi_cprng.c19 #define DEFAULT_PRNG_KSZ 16 macro
289 klen = DEFAULT_PRNG_KSZ; in reset_prng_context()
332 if (reset_prng_context(ctx, NULL, DEFAULT_PRNG_KSZ, NULL, NULL) < 0) in cprng_init()
371 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in cprng_reset()
374 if (slen >= (2 * DEFAULT_BLK_SZ + DEFAULT_PRNG_KSZ)) in cprng_reset()
375 dt = key + DEFAULT_PRNG_KSZ; in cprng_reset()
377 reset_prng_context(prng, key, DEFAULT_PRNG_KSZ, seed, dt); in cprng_reset()
403 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in fips_cprng_reset()
407 if (!memcmp(seed, key, DEFAULT_PRNG_KSZ)) in fips_cprng_reset()
427 .seedsize = DEFAULT_PRNG_KSZ + 2 * DEFAULT_BLK_SZ,
[all …]