Searched defs:random_bytes (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ |
H A D | random.c | 233 uint8_t random_bytes[2 * HASHSIZE]; local 238 len = min(sizeof (random_bytes), uiop->uio_resid); 241 error = kcf_rnd_get_bytes(random_bytes, len, 245 error = kcf_rnd_get_pseudo_bytes(random_bytes, len); 258 error = uiomove(random_bytes, len, UIO_READ, uiop);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 604 BYTE *random_bytes = NULL; local 612 if ((rc = Tspi_TPM_GetRandom(hTPM, bytes, &random_bytes))) { 618 (void) memcpy(output, random_bytes, bytes); 619 Tspi_Context_FreeMemory(hContext, random_bytes);
|
Completed in 62 milliseconds