Lines Matching defs:out
67 static int hash_df(PROV_DRBG *drbg, unsigned char *out,
100 * (Step 4.1) out = out || Hash(tmp || in || [in2] || [in3])
113 memcpy(out, vtmp, outlen);
116 } else if(!EVP_DigestFinal(ctx, out, NULL)) {
125 out += hash->blocklen;
131 static int hash_df1(PROV_DRBG *drbg, unsigned char *out,
135 return hash_df(drbg, out, in_byte, in1, in1len, NULL, 0, NULL, 0);
194 * out is a buffer to return the generated bits.
203 * out = Leftmost(W, outlen)
207 static int hash_gen(PROV_DRBG *drbg, unsigned char *out, size_t outlen)
224 memcpy(out, hash->vtmp, outlen);
227 if (!EVP_DigestFinal(hash->ctx, out, NULL))
232 out += hash->blocklen;
318 * out is a buffer to fill with outlen bytes of pseudo random data.
324 unsigned char *out, size_t outlen,
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,