/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 163 * adin = additional input data (Can be NULL) of length adin_len. 169 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() 190 * adin is an additional_input string of size adin_len that may be NULL. 196 const unsigned char *adin, size_t adin_len) in drbg_hmac_generate() argument 202 /* (Step 2) if adin != NULL then (K,V) = HMAC_DRBG_Update(adin, K, V) */ in drbg_hmac_generate() 203 if (adin ! in drbg_hmac_generate() 242 drbg_hmac_generate_wrapper(void * vdrbg,unsigned char * out,size_t outlen,unsigned int strength,int prediction_resistance,const unsigned char * adin,size_t adin_len) drbg_hmac_generate_wrapper() argument [all...] |
H A D | drbg_hash.c | 176 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() 338 /* (Step 2) if adin ! in drbg_hash_generate() 354 drbg_hash_generate_wrapper(void * vdrbg,unsigned char * out,size_t outlen,unsigned int strength,int prediction_resistance,const unsigned char * adin,size_t adin_len) drbg_hash_generate_wrapper() argument [all...] |
H A D | drbg_local.h | 84 const unsigned char *adin, size_t adin_len); 86 const unsigned char *adin, size_t adin_len); 191 const unsigned char *adin, size_t adin_len), 193 const unsigned char *adin, size_t adin_len)); 204 const unsigned char *adin, size_t adinlen); 208 const unsigned char *adin, size_t adinlen);
|
H A D | drbg_ctr.c | 342 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, adinle in drbg_ctr_generate() 454 drbg_ctr_generate_wrapper(void * vdrbg,unsigned char * out,size_t outlen,unsigned int strength,int prediction_resistance,const unsigned char * adin,size_t adin_len) drbg_ctr_generate_wrapper() argument [all...] |
H A D | drbg.c | 147 const unsigned char *adin, size_t adin_len) in ossl_drbg_get_seed() argument 508 const unsigned char *adin, size_t adinlen) in ossl_prov_drbg_reseed() argument 543 if (adin == NULL) { in ossl_prov_drbg_reseed() 573 if (!drbg->reseed(drbg, ent, ent_len, adin, adinlen)) { in ossl_prov_drbg_reseed() 578 adin = NULL; 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 680 adin, adinlen)) { in ossl_prov_drbg_generate() 684 adin = NULL; in ossl_prov_drbg_generate() 688 if (!drbg->generate(drbg, out, outlen, adin, adinlen)) { in ossl_prov_drbg_generate() [all …]
|
H A D | seed_src.c | 93 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()
|
H A D | test_rng.c | 104 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
|
/freebsd/crypto/openssl/fuzz/ |
H A D | fuzz_rand.c | 61 ossl_unused const unsigned char *adin, in fuzz_rand_generate() argument
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | fake_random.c | 72 const unsigned char *adin, size_t adinlen) in fake_rand_generate() argument
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | provider-rand.pod | 46 const unsigned char *adin, size_t adin_len);
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | core_dispatch.h | 502 const unsigned char *adin, size_t adin_len))
|