Searched refs:entropylen (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | drbg.c | 245 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() 1076 unsigned int entropylen) in drbg_get_random_bytes() argument 1081 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes() 1094 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_seed_from_random() local 1098 BUG_ON(!entropylen); in drbg_seed_from_random() 1099 BUG_ON(entropylen > sizeof(entropy)); in drbg_seed_from_random() 1101 drbg_string_fill(&data, entropy, entropylen); in drbg_seed_from_random() [all …]
|
D | testmgr.h | 136 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 …]
|
D | testmgr.c | 3659 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
|