git: libkern: Remove karc4rand() in favor of karc4random_buf()

Aaron LI aly at crater.dragonflybsd.org
Sat Nov 4 20:33:04 PDT 2023


commit 7d596a54d65954e7b1fe23694d5a3ae5db50d023
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Nov 5 10:33:26 2023 +0800

    libkern: Remove karc4rand() in favor of karc4random_buf()
    
    The latter karc4random_buf()/arc4random_buf() sees more adoptions in
    other BSDs as well as the userland.  So only reserve the latter and
    remove the former.
    
    Update the kernel code accordingly to use karc4random_buf() only.

Summary of changes:
 sys/dev/crypto/aesni/aesni_wrap.c       | 2 +-
 sys/dev/crypto/padlock/padlock_cipher.c | 2 +-
 sys/dev/netif/re/re.c                   | 2 +-
 sys/dev/virtual/virtio/net/if_vtnet.c   | 2 +-
 sys/libkern/arc4random.c                | 8 +-------
 sys/net/pf/pf.c                         | 2 +-
 sys/opencrypto/cryptosoft.c             | 4 ++--
 sys/sys/libkern.h                       | 1 -
 8 files changed, 8 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d596a54d65954e7b1fe23694d5a3ae5db50d023


-- 
DragonFly BSD source repository


More information about the Commits mailing list