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

/linux-master/crypto/
H A Ddrbg.c234 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); local
249 memcpy(drbg->prev, entropy, entropylen);
254 ret = memcmp(drbg->prev, entropy, entropylen);
257 memcpy(drbg->prev, entropy, entropylen);
1062 unsigned int entropylen)
1067 get_random_bytes(entropy, entropylen);
1080 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); local
1084 BUG_ON(!entropylen);
1085 BUG_ON(entropylen > sizeof(entropy));
1087 drbg_string_fill(&data, entropy, entropylen);
1060 drbg_get_random_bytes(struct drbg_state *drbg, unsigned char *entropy, unsigned int entropylen) argument
1137 unsigned int entropylen = drbg_sec_strength(drbg->core->flags); local
[all...]
H A Dtestmgr.h138 size_t entropylen; member in struct:drbg_testvec
23744 .entropylen = 48,
23778 .entropylen = 48,
23818 .entropylen = 48,
23855 .entropylen = 48,
23902 .entropylen = 48,
23936 .entropylen = 48,
23976 .entropylen = 48,
24013 .entropylen = 48,
24058 .entropylen
[all...]
H A Dtestmgr.c3815 drbg_string_fill(&testentropy, test->entropy, test->entropylen);

Completed in 477 milliseconds