Home
last modified time | relevance | path

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

/Linux-v5.10/crypto/
Ddrbg.c244 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test() local
259 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
264 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
267 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
1054 unsigned int entropylen) in drbg_get_random_bytes() argument
1059 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes()
1074 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_async_seed() local
1078 BUG_ON(!entropylen); in drbg_async_seed()
1079 BUG_ON(entropylen > sizeof(entropy)); in drbg_async_seed()
1081 drbg_string_fill(&data, entropy, entropylen); in drbg_async_seed()
[all …]
Dtestmgr.h136 size_t entropylen; member
21301 .entropylen = 48,
21335 .entropylen = 48,
21375 .entropylen = 48,
21412 .entropylen = 48,
21459 .entropylen = 48,
21493 .entropylen = 48,
21533 .entropylen = 48,
21570 .entropylen = 48,
21615 .entropylen = 24,
[all …]
Dtestmgr.c3674 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()