]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fortuna: Drop global lock to zero stack variables
authorcem <cem@FreeBSD.org>
Fri, 26 Oct 2018 21:00:26 +0000 (21:00 +0000)
committercem <cem@FreeBSD.org>
Fri, 26 Oct 2018 21:00:26 +0000 (21:00 +0000)
commitd1cc57cea59a90a254e6c04d0b0035ba49e365df
tree38be8ac7a830d3ebc2b9125d961716998d37abe6
parent739cbed2a9066616beb18f4af1956dd64ed13b5e
fortuna: Drop global lock to zero stack variables

Also drop explicit zeroing of hash context -- hash finish() operation is
expected to do this.

PR: 230877
Suggested by: delphij@
Reviewed by: delphij, markm
Approved by: secteam (delphij)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D16986
sys/dev/random/fortuna.c