]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: drbg - Convert to new rng interface
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Apr 2015 02:46:41 +0000 (10:46 +0800)
committerBrian Maly <brian.maly@oracle.com>
Tue, 8 May 2018 19:15:03 +0000 (15:15 -0400)
commitb07ca65d89aceeb7e6d517fa97a054fe710c0e9f
treee70d2c78e8e8a36327ca1af7b73da2190034b3fa
parent0fb541338e39dd257c054bdbe280f77c0148ff36
crypto: drbg - Convert to new rng interface

Orabug: 27926676
CVE: CVE-2017-15116

This patch converts the DRBG implementation to the new low-level
rng interface.

This allows us to get rid of struct drbg_gen by using the new RNG
API instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Stephan Mueller <smueller@chronox.de>
(cherry picked from commit 8fded5925d0a733c46f8d0b5edd1c9b315882b1d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
crypto/drbg.c

Signed-off-by: Brian Maly <brian.maly@oracle.com>
crypto/drbg.c
include/crypto/drbg.h