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 21676 .entropylen = 48, 21710 .entropylen = 48, 21750 .entropylen = 48, 21787 .entropylen = 48, 21834 .entropylen = 48, 21868 .entropylen = 48, 21908 .entropylen = 48, 21945 .entropylen = 48, 21990 .entropylen = 24, [all …]
|
| H A D | testmgr.c | 3508 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
|