Home
last modified time | relevance | path

Searched refs:adinlen (Results 1 – 7 of 7) sorted by relevance

/third_party/openssl/crypto/rand/
Ddrbg_ctr.c293 const unsigned char *adin, size_t adinlen) in drbg_ctr_reseed() argument
301 if (!ctr_update(drbg, entropy, entropylen, adin, adinlen, NULL, 0)) in drbg_ctr_reseed()
320 const unsigned char *adin, size_t adinlen) in drbg_ctr_generate() argument
326 if (adin != NULL && adinlen != 0) { in drbg_ctr_generate()
329 if (!ctr_update(drbg, adin, adinlen, NULL, 0, NULL, 0)) in drbg_ctr_generate()
334 adinlen = 1; in drbg_ctr_generate()
337 adinlen = 0; in drbg_ctr_generate()
345 if (!ctr_update(drbg, adin, adinlen, NULL, 0, NULL, 0)) in drbg_ctr_generate()
387 if (!ctr_update(drbg, adin, adinlen, NULL, 0, NULL, 0)) in drbg_ctr_generate()
Ddrbg_lib.c407 const unsigned char *adin, size_t adinlen, in RAND_DRBG_reseed() argument
423 adinlen = 0; in RAND_DRBG_reseed()
424 } else if (adinlen > drbg->max_adinlen) { in RAND_DRBG_reseed()
441 if (!drbg->meth->reseed(drbg, entropy, entropylen, adin, adinlen)) in RAND_DRBG_reseed()
485 size_t adinlen = 0; in rand_drbg_restart() local
522 adinlen = len; in rand_drbg_restart()
551 drbg->meth->reseed(drbg, adin, adinlen, NULL, 0); in rand_drbg_restart()
578 const unsigned char *adin, size_t adinlen) in RAND_DRBG_generate() argument
601 if (adinlen > drbg->max_adinlen) { in RAND_DRBG_generate()
629 if (!RAND_DRBG_reseed(drbg, adin, adinlen, prediction_resistance)) { in RAND_DRBG_generate()
[all …]
Drand_local.h114 size_t adinlen);
120 size_t adinlen);
/third_party/openssl/test/
Ddrbgtest.c48 size_t adinlen; member
191 td->adin, td->adinlen)) in single_kat()
318 td->adin, td->adinlen)) in error_check()
365 td->adin, td->adinlen))) in error_check()
370 td->adin, td->adinlen))) in error_check()
384 td->adin, td->adinlen)) in error_check()
397 td->adin, td->adinlen)) in error_check()
409 td->adin, td->adinlen)) in error_check()
422 td->adin, td->adinlen)) in error_check()
439 if (!TEST_false(RAND_DRBG_reseed(drbg, td->adin, td->adinlen, 0)) in error_check()
[all …]
/third_party/openssl/doc/man3/
DRAND_DRBG_generate.pod16 const unsigned char *adin, size_t adinlen);
35 by passing a pointer B<adin> to a buffer of length B<adinlen>.
39 B<adinlen> to 0;
46 RAND_DRBG_generate(drbg, out, outlen, 0, adin, adinlen).
DRAND_DRBG_reseed.pod16 const unsigned char *adin, size_t adinlen,
38 of length B<adinlen>.
39 The additional data can be omitted by setting B<adin> to NULL and B<adinlen>
/third_party/openssl/include/openssl/
Drand_drbg.h74 const unsigned char *adin, size_t adinlen,
78 const unsigned char *adin, size_t adinlen);