X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d190cdc3f5544636abb56dc1874be391d3e1b148..c6bf4f310a33a9262d455ea4d3f0630b1255e3fe:/libkern/crypto/corecrypto_rand.c?ds=inline diff --git a/libkern/crypto/corecrypto_rand.c b/libkern/crypto/corecrypto_rand.c index 332b48d7d..4a0bb2496 100644 --- a/libkern/crypto/corecrypto_rand.c +++ b/libkern/crypto/corecrypto_rand.c @@ -45,3 +45,9 @@ cc_rand_generate(void *out, size_t outlen) return error; } + +int +random_buf(void *buf, size_t buflen) +{ + return cc_rand_generate(buf, buflen); +}