rngprov_getbytes
(void) rngprov_getbytes(tbuf, len, B_TRUE);
if ((got = rngprov_getbytes(ptr, len, B_FALSE)) == -1)