lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 18 Dec 2017 12:41:42 +1100
From:   NeilBrown <neilb@...e.com>
To:     Oleg Drokin <oleg.drokin@...el.com>,
        Andreas Dilger <andreas.dilger@...el.com>,
        James Simmons <jsimmons@...radead.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     lkml <linux-kernel@...r.kernel.org>,
        lustre <lustre-devel@...ts.lustre.org>
Subject: [PATCH SERIES 4: 0/4] staging: lustre: use standard prng

Lustre has its own internal PRNG code.
This adds nothing of value to the Linux standard prng code,
so switch over to using the standard interfaces.
This adds a few callers to add_device_randomness(), which
helps everyone, and removes unnecessary code.

Thanks,
NeilBrown


---

NeilBrown (4):
      staging: lustre: replace cfs_rand() with prandom_u32_max()
      staging: lustre: replace cfs_srand() calls with add_device_randomness().
      staging: lustre: replace cfs_get_random_bytes calls with get_random_byte()
      staging: lustre: libcfs: remove prng


 .../staging/lustre/include/linux/libcfs/libcfs.h   |   10 -
 drivers/staging/lustre/lnet/libcfs/Makefile        |    2 
 drivers/staging/lustre/lnet/libcfs/fail.c          |    2 
 drivers/staging/lustre/lnet/libcfs/prng.c          |  137 --------------------
 drivers/staging/lustre/lnet/lnet/net_fault.c       |   38 +++---
 drivers/staging/lustre/lnet/lnet/router.c          |   19 +--
 drivers/staging/lustre/lustre/include/obd_class.h  |    2 
 drivers/staging/lustre/lustre/llite/super25.c      |   17 +-
 drivers/staging/lustre/lustre/mgc/mgc_request.c    |    4 -
 .../lustre/lustre/obdclass/lustre_handles.c        |    9 -
 drivers/staging/lustre/lustre/ptlrpc/client.c      |    2 
 11 files changed, 42 insertions(+), 200 deletions(-)
 delete mode 100644 drivers/staging/lustre/lnet/libcfs/prng.c

--
Signature

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ