// misc.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #ifndef CRYPTOPP_IMPORTS #include "misc.h" #include "words.h" #include NAMESPACE_BEGIN(CryptoPP) void xorbuf(byte *buf, const byte *mask, size_t count) { size_t i; if (IsAligned(buf) && IsAligned(mask)) { #if defined(WORD64_AVAILABLE) && !defined(CRYPTOPP_SLOW_WORD64) if (IsAligned(buf) && IsAligned(mask)) { for (i=0; i(output) && IsAligned(input) && IsAligned(mask)) { #if defined(WORD64_AVAILABLE) && !defined(CRYPTOPP_SLOW_WORD64) if (IsAligned(output) && IsAligned(input) && IsAligned(mask)) { for (i=0; i