Searched refs:entropylen (Results 1 – 3 of 3) sorted by relevance
| /linux/crypto/ ! |
| H A D | drbg.c | 236 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test() local 250 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 255 if (!memcmp(drbg->prev, entropy, entropylen)) in drbg_fips_continuous_test() 257 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test() 848 unsigned int entropylen) in drbg_get_random_bytes() argument 852 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes() 861 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_seed_from_random() local 865 BUG_ON(!entropylen); in drbg_seed_from_random() 866 BUG_ON(entropylen > sizeof(entropy)); in drbg_seed_from_random() 868 drbg_string_fill(&data, entropy, entropylen); in drbg_seed_from_random() [all …]
|
| H A D | testmgr.h | 124 size_t entropylen; member 21785 .entropylen = 48, 21819 .entropylen = 48, 21859 .entropylen = 48, 21896 .entropylen = 48, 21943 .entropylen = 48, 21977 .entropylen = 48, 22017 .entropylen = 48, 22054 .entropylen = 48, 22099 .entropylen = 24, [all …]
|
| H A D | testmgr.c | 3508 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
|