Home
last modified time | relevance | path

Searched refs:entropylen (Results 1 – 3 of 3) sorted by relevance

/crypto/
Ddrbg.c244 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test() local
259 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
264 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
267 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()
1054 unsigned int entropylen) in drbg_get_random_bytes() argument
1059 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes()
1074 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); in drbg_async_seed() local
1078 BUG_ON(!entropylen); in drbg_async_seed()
1079 BUG_ON(entropylen > sizeof(entropy)); in drbg_async_seed()
1081 drbg_string_fill(&data, entropy, entropylen); in drbg_async_seed()
[all …]
Dtestmgr.h130 size_t entropylen; member
19636 .entropylen = 48,
19670 .entropylen = 48,
19710 .entropylen = 48,
19747 .entropylen = 48,
19794 .entropylen = 48,
19828 .entropylen = 48,
19868 .entropylen = 48,
19905 .entropylen = 48,
19950 .entropylen = 24,
[all …]
Dtestmgr.c3389 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()