diff options
author | Jeffrey Walton <noloader@gmail.com> | 2023-04-15 16:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 16:45:02 -0400 |
commit | f5f63850f9a5521e45de3cc45be61309a2e71ab2 (patch) | |
tree | d9ec904ebd511ae673e89790a407f0cdcf0b9bbc /iterhash.cpp | |
parent | 358d0cfecd593d55160df38e133b9450aaf1cd59 (diff) | |
download | cryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz |
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'iterhash.cpp')
-rw-r--r-- | iterhash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iterhash.cpp b/iterhash.cpp index 938a0fac..5ff110b6 100644 --- a/iterhash.cpp +++ b/iterhash.cpp @@ -147,12 +147,12 @@ template <class T, class BASE> void IteratedHashBase<T, BASE>::PadLastBlock(unsi data[num++] = padFirst;
if (num <= lastBlockSize)
- memset(data+num, 0, lastBlockSize-num);
+ std::memset(data+num, 0, lastBlockSize-num);
else
{
- memset(data+num, 0, blockSize-num);
+ std::memset(data+num, 0, blockSize-num);
HashBlock(dataBuf);
- memset(data, 0, lastBlockSize);
+ std::memset(data, 0, lastBlockSize);
}
}
|