Home
last modified time | relevance | path

Searched refs:adin (Results 1 – 21 of 21) sorted by relevance

/third_party/openssl/providers/implementations/rands/
Ddrbg_hmac.c169 const unsigned char *adin, size_t adin_len) in drbg_hmac_reseed() argument
172 return drbg_hmac_update(drbg, ent, ent_len, adin, adin_len, NULL, 0); in drbg_hmac_reseed()
177 const unsigned char *adin, size_t adin_len) in drbg_hmac_reseed_wrapper() argument
182 adin, adin_len); in drbg_hmac_reseed_wrapper()
196 const unsigned char *adin, size_t adin_len) in drbg_hmac_generate() argument
203 if (adin != NULL in drbg_hmac_generate()
205 && !drbg_hmac_update(drbg, adin, adin_len, NULL, 0, NULL, 0)) in drbg_hmac_generate()
234 if (!drbg_hmac_update(drbg, adin, adin_len, NULL, 0, NULL, 0)) in drbg_hmac_generate()
242 int prediction_resistance, const unsigned char *adin, size_t adin_len) in drbg_hmac_generate_wrapper() argument
247 prediction_resistance, adin, adin_len); in drbg_hmac_generate_wrapper()
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()
290 const unsigned char *adin, size_t adin_len) in drbg_hash_reseed() argument
297 adin, adin_len)) in drbg_hash_reseed()
306 const unsigned char *adin, size_t adin_len) in drbg_hash_reseed_wrapper() argument
311 adin, adin_len); in drbg_hash_reseed_wrapper()
325 const unsigned char *adin, size_t adin_len) in drbg_hash_generate() argument
337 && (adin == NULL in drbg_hash_generate()
340 || add_hash_to_v(drbg, 0x02, adin, adin_len)) in drbg_hash_generate()
354 int prediction_resistance, const unsigned char *adin, size_t adin_len) in drbg_hash_generate_wrapper() argument
[all …]
Ddrbg_local.h84 const unsigned char *adin, size_t adin_len);
86 const unsigned char *adin, size_t adin_len);
190 const unsigned char *adin, size_t adin_len),
192 const unsigned char *adin, size_t adin_len));
203 const unsigned char *adin, size_t adinlen);
207 const unsigned char *adin, size_t adinlen);
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()
357 const unsigned char *adin, size_t adin_len) in drbg_ctr_reseed_wrapper() argument
362 adin, adin_len); in drbg_ctr_reseed_wrapper()
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()
392 adin = NULL; 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()
[all …]
Ddrbg.c147 const unsigned char *adin, size_t adin_len) in ossl_drbg_get_seed() argument
503 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_reseed() argument
538 if (adin == NULL) { in ossl_prov_drbg_reseed()
568 if (!drbg->reseed(drbg, ent, ent_len, adin, adinlen)) { in ossl_prov_drbg_reseed()
573 adin = NULL; 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
675 adin, adinlen)) { in ossl_prov_drbg_generate()
679 adin = NULL; in ossl_prov_drbg_generate()
683 if (!drbg->generate(drbg, out, outlen, adin, adinlen)) { in ossl_prov_drbg_generate()
[all …]
Dseed_src.c93 ossl_unused const unsigned char *adin, in seed_src_generate() argument
127 ossl_unused const unsigned char *adin, in seed_src_reseed() argument
180 const unsigned char *adin, size_t adin_len) in seed_get_seed() argument
205 adin, adin_len) != 0) { in seed_get_seed()
Dtest_rng.c104 const unsigned char *adin, size_t adin_len) in test_rng_generate() argument
119 ossl_unused const unsigned char *adin, in test_rng_reseed() argument
233 ossl_unused const unsigned char *adin, in test_rng_get_seed() argument
/third_party/node/deps/openssl/openssl/providers/implementations/rands/
Ddrbg_hmac.c169 const unsigned char *adin, size_t adin_len) in drbg_hmac_reseed() argument
172 return drbg_hmac_update(drbg, ent, ent_len, adin, adin_len, NULL, 0); in drbg_hmac_reseed()
177 const unsigned char *adin, size_t adin_len) in drbg_hmac_reseed_wrapper() argument
182 adin, adin_len); in drbg_hmac_reseed_wrapper()
196 const unsigned char *adin, size_t adin_len) in drbg_hmac_generate() argument
203 if (adin != NULL in drbg_hmac_generate()
205 && !drbg_hmac_update(drbg, adin, adin_len, NULL, 0, NULL, 0)) in drbg_hmac_generate()
234 if (!drbg_hmac_update(drbg, adin, adin_len, NULL, 0, NULL, 0)) in drbg_hmac_generate()
242 int prediction_resistance, const unsigned char *adin, size_t adin_len) in drbg_hmac_generate_wrapper() argument
247 prediction_resistance, adin, adin_len); in drbg_hmac_generate_wrapper()
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()
290 const unsigned char *adin, size_t adin_len) in drbg_hash_reseed() argument
297 adin, adin_len)) in drbg_hash_reseed()
306 const unsigned char *adin, size_t adin_len) in drbg_hash_reseed_wrapper() argument
311 adin, adin_len); in drbg_hash_reseed_wrapper()
325 const unsigned char *adin, size_t adin_len) in drbg_hash_generate() argument
337 && (adin == NULL in drbg_hash_generate()
340 || add_hash_to_v(drbg, 0x02, adin, adin_len)) in drbg_hash_generate()
354 int prediction_resistance, const unsigned char *adin, size_t adin_len) in drbg_hash_generate_wrapper() argument
[all …]
Ddrbg_local.h84 const unsigned char *adin, size_t adin_len);
86 const unsigned char *adin, size_t adin_len);
190 const unsigned char *adin, size_t adin_len),
192 const unsigned char *adin, size_t adin_len));
203 const unsigned char *adin, size_t adinlen);
207 const unsigned char *adin, size_t adinlen);
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()
357 const unsigned char *adin, size_t adin_len) in drbg_ctr_reseed_wrapper() argument
362 adin, adin_len); in drbg_ctr_reseed_wrapper()
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()
392 adin = NULL; 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()
[all …]
Ddrbg.c147 const unsigned char *adin, size_t adin_len) in ossl_drbg_get_seed() argument
503 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_reseed() argument
538 if (adin == NULL) { in ossl_prov_drbg_reseed()
568 if (!drbg->reseed(drbg, ent, ent_len, adin, adinlen)) { in ossl_prov_drbg_reseed()
573 adin = NULL; 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
675 adin, adinlen)) { in ossl_prov_drbg_generate()
679 adin = NULL; in ossl_prov_drbg_generate()
683 if (!drbg->generate(drbg, out, outlen, adin, adinlen)) { in ossl_prov_drbg_generate()
[all …]
Dseed_src.c93 ossl_unused const unsigned char *adin, in seed_src_generate() argument
127 ossl_unused const unsigned char *adin, in seed_src_reseed() argument
180 const unsigned char *adin, size_t adin_len) in seed_get_seed() argument
205 adin, adin_len) != 0) { in seed_get_seed()
Dtest_rng.c104 const unsigned char *adin, size_t adin_len) in test_rng_generate() argument
119 ossl_unused const unsigned char *adin, in test_rng_reseed() argument
233 ossl_unused const unsigned char *adin, in test_rng_get_seed() argument
/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.c61 ossl_unused const unsigned char *adin, in fuzz_rand_generate() argument
/third_party/node/deps/openssl/openssl/fuzz/
Dfuzz_rand.c61 ossl_unused const unsigned char *adin, 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
/third_party/openssl/doc/man7/
Dprovider-rand.pod46 const unsigned char *adin, size_t adin_len);
/third_party/node/deps/openssl/openssl/include/openssl/
Dcore_dispatch.h502 const unsigned char *adin, size_t adin_len))
/third_party/openssl/include/openssl/
Dcore_dispatch.h502 const unsigned char *adin, size_t adin_len))