Searched refs:entropylen (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/crypto/ |
D | drbg.c | 234 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test() local 249 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 254 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 257 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 1062 unsigned int entropylen) in drbg_get_random_bytes() argument 1067 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes() 1080 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_seed_from_random() local 1084 BUG_ON(!entropylen); in drbg_seed_from_random() 1085 BUG_ON(entropylen > sizeof(entropy)); in drbg_seed_from_random() 1087 drbg_string_fill(&data, entropy, entropylen); in drbg_seed_from_random() [all …]
|
D | testmgr.h | 138 size_t entropylen; member 23831 .entropylen = 48, 23865 .entropylen = 48, 23905 .entropylen = 48, 23942 .entropylen = 48, 23989 .entropylen = 48, 24023 .entropylen = 48, 24063 .entropylen = 48, 24100 .entropylen = 48, 24145 .entropylen = 24, [all …]
|
D | testmgr.c | 3858 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
|