mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Disable SecureWipe specializations when CRYPTOPP_DISABLE_ASM (GH #719)
This commit is contained in:
parent
c315c669b7
commit
180b39facc
4
misc.h
4
misc.h
@ -1223,7 +1223,9 @@ void SecureWipeBuffer(T *buf, size_t n)
|
||||
*(--p) = 0;
|
||||
}
|
||||
|
||||
#if (_MSC_VER >= 1400 || defined(__GNUC__)) && (CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X86)
|
||||
#if !defined(CRYPTOPP_DISABLE_ASM) && \
|
||||
(_MSC_VER >= 1400 || defined(__GNUC__)) && \
|
||||
(CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X86)
|
||||
|
||||
/// \brief Sets each byte of an array to 0
|
||||
/// \param buf an array of bytes
|
||||
|
Loading…
Reference in New Issue
Block a user