Searched refs:entropylen (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/crypto/ |
D | drbg.c | 246 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test() local 261 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 266 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 269 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 1078 unsigned int entropylen) in drbg_get_random_bytes() argument 1083 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes() 1096 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_seed_from_random() local 1100 BUG_ON(!entropylen); in drbg_seed_from_random() 1101 BUG_ON(entropylen > sizeof(entropy)); in drbg_seed_from_random() 1103 drbg_string_fill(&data, entropy, entropylen); in drbg_seed_from_random() [all …]
|
D | testmgr.h | 138 size_t entropylen; member 23989 .entropylen = 48, 24023 .entropylen = 48, 24063 .entropylen = 48, 24100 .entropylen = 48, 24147 .entropylen = 48, 24181 .entropylen = 48, 24221 .entropylen = 48, 24258 .entropylen = 48, 24303 .entropylen = 24, [all …]
|
D | testmgr.c | 3819 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
|