Lines Matching refs:outlen
79 size_t outlen = drbg->seedlen;
80 size_t num_bits_returned = outlen * 8;
82 * No need to check outlen size here, as the standard only ever needs
110 if (outlen < hash->blocklen) {
113 memcpy(out, vtmp, outlen);
120 outlen -= hash->blocklen;
121 if (outlen == 0)
193 * outlen is the requested number of bytes.
203 * out = Leftmost(W, outlen)
207 static int hash_gen(PROV_DRBG *drbg, unsigned char *out, size_t outlen)
212 if (outlen == 0)
221 if (outlen < hash->blocklen) {
224 memcpy(out, hash->vtmp, outlen);
229 outlen -= hash->blocklen;
230 if (outlen == 0)
318 * out is a buffer to fill with outlen bytes of pseudo random data.
324 unsigned char *out, size_t outlen,
341 /* (Step 3) Hashgen(outlen, V) */
342 && hash_gen(drbg, out, outlen)
353 (void *vdrbg, unsigned char *out, size_t outlen, unsigned int strength,
358 return ossl_prov_drbg_generate(drbg, out, outlen, strength,