Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 6 of 6) sorted by relevance

/crypto/
Dalgif_rng.c63 u8 *entropy; member
228 kfree_sensitive(pctx->entropy); in rng_release()
271 if (IS_ENABLED(CONFIG_CRYPTO_USER_API_RNG_CAVP) && pctx->entropy) in rng_accept_parent()
287 static int __maybe_unused rng_setentropy(void *private, sockptr_t entropy, in rng_setentropy() argument
296 if (pctx->entropy) in rng_setentropy()
303 kentropy = memdup_sockptr(entropy, len); in rng_setentropy()
313 pctx->entropy = kentropy; in rng_setentropy()
Ddrbg.c243 const unsigned char *entropy) in drbg_fips_continuous_test() argument
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()
1075 unsigned char *entropy, in drbg_get_random_bytes() argument
1081 get_random_bytes(entropy, entropylen); in drbg_get_random_bytes()
1082 ret = drbg_fips_continuous_test(drbg, entropy); in drbg_get_random_bytes()
1095 unsigned char entropy[32]; in drbg_seed_from_random() local
1099 BUG_ON(entropylen > sizeof(entropy)); in drbg_seed_from_random()
1101 drbg_string_fill(&data, entropy, entropylen); in drbg_seed_from_random()
[all …]
Dtestmgr.h135 const unsigned char *entropy; member
21296 .entropy = (unsigned char *)
21330 .entropy = (unsigned char *)
21370 .entropy = (unsigned char *)
21407 .entropy = (unsigned char *)
21454 .entropy = (unsigned char *)
21488 .entropy = (unsigned char *)
21528 .entropy = (unsigned char *)
21565 .entropy = (unsigned char *)
21612 .entropy = (unsigned char *)
[all …]
Dfips140-selftests.c100 const u8 *entropy; member
491 drbg_string_fill(&testentropy, vec->entropy, vec->entropy_size); in fips_test_drbg()
908 .entropy =
DKconfig552 IV, making low entropy IV sources more suitable for block
1931 interface: resetting of DRBG entropy, and providing Additional Data.
Dtestmgr.c3677 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()