X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/2650fa9ee9806a25904566dea091b1225d74f063..b061a43bf32824cb214e9e3a29a974341de443d4:/gen/FreeBSD/arc4random.c diff --git a/gen/FreeBSD/arc4random.c b/gen/FreeBSD/arc4random.c index e49f56b..d2368d7 100644 --- a/gen/FreeBSD/arc4random.c +++ b/gen/FreeBSD/arc4random.c @@ -112,7 +112,7 @@ arc4_init(void) uint8_t entropy[BUFFERSIZE]; int ret; - rng_custom.ecb = ccaes_ecb_encrypt_mode(); + rng_custom.ctr_info = ccaes_ctr_crypt_mode(); rng_custom.keylen = 16; rng_custom.strictFIPS = 0; rng_custom.use_df = 1;