Lines Matching refs:outlen
81 size_t outlen = drbg->seedlen; in hash_df() local
82 size_t num_bits_returned = outlen * 8; in hash_df()
112 if (outlen < hash->blocklen) { in hash_df()
115 memcpy(out, vtmp, outlen); in hash_df()
122 outlen -= hash->blocklen; in hash_df()
123 if (outlen == 0) in hash_df()
209 static int hash_gen(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in hash_gen() argument
214 if (outlen == 0) in hash_gen()
223 if (outlen < hash->blocklen) { in hash_gen()
226 memcpy(out, hash->vtmp, outlen); in hash_gen()
231 outlen -= hash->blocklen; in hash_gen()
232 if (outlen == 0) in hash_gen()
335 unsigned char *out, size_t outlen, in drbg_hash_generate() argument
353 && hash_gen(drbg, out, outlen) in drbg_hash_generate()
364 (void *vdrbg, unsigned char *out, size_t outlen, unsigned int strength, in drbg_hash_generate_wrapper() argument
369 return ossl_prov_drbg_generate(drbg, out, outlen, strength, in drbg_hash_generate_wrapper()