Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/crypto/
H A Dansi_cprng.c18 #define DEFAULT_PRNG_KSZ 16 macro
288 klen = DEFAULT_PRNG_KSZ; in reset_prng_context()
331 if (reset_prng_context(ctx, NULL, DEFAULT_PRNG_KSZ, NULL, NULL) < 0) in cprng_init()
370 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in cprng_reset()
373 if (slen >= (2 * DEFAULT_BLK_SZ + DEFAULT_PRNG_KSZ)) in cprng_reset()
374 dt = key + DEFAULT_PRNG_KSZ; in cprng_reset()
376 reset_prng_context(prng, key, DEFAULT_PRNG_KSZ, seed, dt); in cprng_reset()
402 if (slen < DEFAULT_PRNG_KSZ + DEFAULT_BLK_SZ) in fips_cprng_reset()
406 if (!memcmp(seed, key, DEFAULT_PRNG_KSZ)) in fips_cprng_reset()
426 .seedsize = DEFAULT_PRNG_KSZ
[all...]
/kernel/linux/linux-6.6/crypto/
H A 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
[all...]

Completed in 2 milliseconds