Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg.c508 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_reseed() argument
544 adinlen = 0; in ossl_prov_drbg_reseed()
545 } else if (adinlen > drbg->max_adinlen) { in ossl_prov_drbg_reseed()
573 if (!drbg->reseed(drbg, ent, ent_len, adin, adinlen)) { in ossl_prov_drbg_reseed()
579 adinlen = 0; in ossl_prov_drbg_reseed()
593 if (!drbg->reseed(drbg, entropy, entropylen, adin, adinlen)) in ossl_prov_drbg_reseed()
622 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_generate() argument
652 if (adinlen > drbg->max_adinlen) { in ossl_prov_drbg_generate()
680 adin, adinlen)) { in ossl_prov_drbg_generate()
685 adinlen = 0; in ossl_prov_drbg_generate()
[all …]
H A Ddrbg_ctr.c342 const unsigned char *adin, size_t adinlen) in drbg_ctr_reseed() argument
350 if (!ctr_update(drbg, entropy, entropylen, adin, adinlen, NULL, 0)) in drbg_ctr_reseed()
379 const unsigned char *adin, size_t adinlen) in drbg_ctr_generate() argument
385 if (adin != NULL && adinlen != 0) { in drbg_ctr_generate()
388 if (!ctr_update(drbg, adin, adinlen, NULL, 0, NULL, 0)) in drbg_ctr_generate()
393 adinlen = 1; in drbg_ctr_generate()
396 adinlen = 0; in drbg_ctr_generate()
404 if (!ctr_update(drbg, adin, adinlen, NULL, 0, NULL, 0)) in drbg_ctr_generate()
446 if (!ctr_update(drbg, adin, adinlen, NULL, 0, NULL, 0)) in drbg_ctr_generate()
H A Ddrbg_local.h204 const unsigned char *adin, size_t adinlen);
208 const unsigned char *adin, size_t adinlen);
H A Ddrbg_hash.c176 const unsigned char *adin, size_t adinlen) in add_hash_to_v() argument
184 && (adin == NULL || EVP_DigestUpdate(ctx, adin, adinlen)) in add_hash_to_v()
/freebsd/crypto/openssl/fuzz/
H A Dfuzz_rand.c62 ossl_unused size_t adinlen) in fuzz_rand_generate() argument
/freebsd/crypto/openssl/test/testutil/
H A Dfake_random.c72 const unsigned char *adin, size_t adinlen) in fake_rand_generate() argument