Home
last modified time | relevance | path

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

/Linux-v5.15/crypto/
Ddrbg.c245 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test() local
260 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
265 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
268 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
1055 unsigned int entropylen) in drbg_get_random_bytes() argument
1060 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes()
1075 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_async_seed() local
1079 BUG_ON(!entropylen); in drbg_async_seed()
1080 BUG_ON(entropylen > sizeof(entropy)); in drbg_async_seed()
1082 drbg_string_fill(&data, entropy, entropylen); in drbg_async_seed()
[all …]
Dtestmgr.h136 size_t entropylen; member
21458 .entropylen = 48,
21492 .entropylen = 48,
21532 .entropylen = 48,
21569 .entropylen = 48,
21616 .entropylen = 48,
21650 .entropylen = 48,
21690 .entropylen = 48,
21727 .entropylen = 48,
21772 .entropylen = 24,
[all …]
Dtestmgr.c3659 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()