Searched refs:entropylen (Results 1 – 4 of 4) sorted by relevance
/third_party/openssl/test/ |
D | drbgtest.c | 42 size_t entropylen; member 125 size_t entropylen; member 140 return t->entropylen; in kat_entropy() 184 t.entropylen = td->entropylen; in single_kat() 197 t.entropylen = td->entropyreseedlen; in single_kat() 215 t.entropylen = td->entropylen_pr; in single_kat() 228 t.entropylen = td->entropyprlen_pr; in single_kat() 238 t.entropylen = td->entropyglen_pr; in single_kat() 263 t->entropylen = td->entropylen; in init() 312 t.entropylen = 0; in error_check() [all …]
|
D | drbg_cavs_test.c | 27 size_t entropylen; member 42 return t->entropylen; in kat_entropy() 87 t.entropylen = td->entropyinlen; in single_kat_no_reseed() 146 t.entropylen = td->entropyinlen; in single_kat_pr_false() 159 t.entropylen = td->entropyinlen; in single_kat_pr_false() 212 t.entropylen = td->entropyinlen; in single_kat_pr_true() 223 t.entropylen = td->entropyinlen; in single_kat_pr_true() 230 t.entropylen = td->entropyinlen; in single_kat_pr_true()
|
/third_party/openssl/crypto/rand/ |
D | drbg_lib.c | 292 size_t noncelen = 0, entropylen = 0; in RAND_DRBG_instantiate() local 331 entropylen = drbg->get_entropy(drbg, &entropy, min_entropy, in RAND_DRBG_instantiate() 333 if (entropylen < min_entropylen in RAND_DRBG_instantiate() 334 || entropylen > max_entropylen) { in RAND_DRBG_instantiate() 348 if (!drbg->meth->instantiate(drbg, entropy, entropylen, in RAND_DRBG_instantiate() 367 drbg->cleanup_entropy(drbg, entropy, entropylen); in RAND_DRBG_instantiate() 411 size_t entropylen = 0; in RAND_DRBG_reseed() local 431 entropylen = drbg->get_entropy(drbg, &entropy, drbg->strength, in RAND_DRBG_reseed() 435 if (entropylen < drbg->min_entropylen in RAND_DRBG_reseed() 436 || entropylen > drbg->max_entropylen) { in RAND_DRBG_reseed() [all …]
|
D | drbg_ctr.c | 271 const unsigned char *entropy, size_t entropylen, in drbg_ctr_instantiate() argument 286 if (!ctr_update(drbg, entropy, entropylen, pers, perslen, nonce, noncelen)) in drbg_ctr_instantiate() 292 const unsigned char *entropy, size_t entropylen, in drbg_ctr_reseed() argument 301 if (!ctr_update(drbg, entropy, entropylen, adin, adinlen, NULL, 0)) in drbg_ctr_reseed()
|