From 2cb2ba6df8e31d389fd4bbfa73f0e6227dccb056 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Tue, 27 Mar 2018 14:55:01 +0000 Subject: MFV: libb2: use native calls for secure memory clearance Drop our local patch and restore full vanilla upstream code in contrib/libb2. No functional change intended. explicit_bzero() should continue to be used. Obtained from: libb2 b4b241a34824b51956a7866606329a065d397525 Sponsored by: Dell EMC Isilon --- sys/crypto/blake2/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/crypto') diff --git a/sys/crypto/blake2/config.h b/sys/crypto/blake2/config.h index 9ceba827f3d1..0471a1fedc20 100644 --- a/sys/crypto/blake2/config.h +++ b/sys/crypto/blake2/config.h @@ -17,3 +17,5 @@ #else #define HAVE_ALIGNED_ACCESS_REQUIRED 1 #endif + +#define HAVE_EXPLICIT_BZERO 1 -- cgit v1.2.3