mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
maint: resync with blake2 upstream
* src/blake2/blake2-impl.h: Don't use the equivalent explicit_bzero().
This commit is contained in:
1 parent
388e150792
commit
8b1c6eebac
1 file changed
+2
-1
@@ -153,7 +153,8 @@ static BLAKE2_INLINE uint64_t rotr64( const uint64_t w, const unsigned c )
|
||||
/* prevents compiler optimizing out memset() */
|
||||
static BLAKE2_INLINE void secure_zero_memory(void *v, size_t n)
|
||||
{
|
||||
explicit_bzero (v, n);
|
||||
static void *(*const volatile memset_v)(void *, int, size_t) = &memset;
|
||||
memset_v(v, 0, n);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user