Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dansi_cprng.c24 #define DEFAULT_PRNG_KSZ 16 macro
294 klen = DEFAULT_PRNG_KSZ; in reset_prng_context()
337 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()
408 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in fips_cprng_reset()
412 if (!memcmp(seed, key, DEFAULT_PRNG_KSZ)) in fips_cprng_reset()
432 .seedsize = DEFAULT_PRNG_KSZ + 2 * DEFAULT_BLK_SZ,
[all …]