Home
last modified time | relevance | path

Searched refs:CRNGT_BUFSIZ (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/providers/implementations/rands/
Dcrngt.c42 n = ossl_prov_get_entropy(provctx, &p, 0, CRNGT_BUFSIZ, CRNGT_BUFSIZ); in crngt_get_entropy()
43 if (n == CRNGT_BUFSIZ) { in crngt_get_entropy()
44 r = EVP_Digest(p, CRNGT_BUFSIZ, md, md_size, digest, NULL); in crngt_get_entropy()
46 memcpy(buf, p, CRNGT_BUFSIZ); in crngt_get_entropy()
108 unsigned char buf[CRNGT_BUFSIZ]; in ossl_crngt_get_entropy()
162 s = t >= CRNGT_BUFSIZ ? CRNGT_BUFSIZ : t; in ossl_crngt_get_entropy()
163 entbuf = t >= CRNGT_BUFSIZ ? entp : buf; in ossl_crngt_get_entropy()
166 if (t < CRNGT_BUFSIZ) in ossl_crngt_get_entropy()
Ddrbg_local.h41 #define CRNGT_BUFSIZ 16 macro