Home
last modified time | relevance | path

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

/third_party/openssl/providers/implementations/rands/
Ddrbg.c503 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_reseed() argument
539 adinlen = 0; in ossl_prov_drbg_reseed()
540 } else if (adinlen > drbg->max_adinlen) { in ossl_prov_drbg_reseed()
568 if (!drbg->reseed(drbg, ent, ent_len, adin, adinlen)) { in ossl_prov_drbg_reseed()
574 adinlen = 0; in ossl_prov_drbg_reseed()
588 if (!drbg->reseed(drbg, entropy, entropylen, adin, adinlen)) in ossl_prov_drbg_reseed()
617 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_generate() argument
647 if (adinlen > drbg->max_adinlen) { in ossl_prov_drbg_generate()
675 adin, adinlen)) { in ossl_prov_drbg_generate()
680 adinlen = 0; in ossl_prov_drbg_generate()
[all …]
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()
Ddrbg_local.h203 const unsigned char *adin, size_t adinlen);
207 const unsigned char *adin, size_t adinlen);
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()
/third_party/openssl/ohos_lite/include/openssl/
Drand_drbg.h74 const unsigned char *adin, size_t adinlen,
78 const unsigned char *adin, size_t adinlen);
/third_party/openssl/fuzz/
Dfuzz_rand.c62 ossl_unused size_t adinlen) in fuzz_rand_generate() argument
/third_party/openssl/test/testutil/
Dfake_random.c72 const unsigned char *adin, size_t adinlen) in fake_rand_generate() argument