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 /validat1.cpp | |
parent | 358d0cfecd593d55160df38e133b9450aaf1cd59 (diff) | |
download | cryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz |
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/validat1.cpp b/validat1.cpp index fa9ae597..d978d17c 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -846,7 +846,7 @@ bool TestSecBlock() {
static const unsigned int SIZE = 8;
SecBlockWithHint<byte, SIZE> block(SIZE);
- memset(block, 0xaa, block.SizeInBytes());
+ std::memset(block, 0xaa, block.SizeInBytes());
temp = true;
block.CleanGrow(SIZE*2);
@@ -883,7 +883,7 @@ bool TestSecBlock() {
static const unsigned int SIZE = 8;
SecBlockWithHint<word32, SIZE> block(SIZE);
- memset(block, 0xaa, block.SizeInBytes());
+ std::memset(block, 0xaa, block.SizeInBytes());
temp = true;
block.CleanGrow(SIZE*2);
@@ -921,7 +921,7 @@ bool TestSecBlock() {
static const unsigned int SIZE = 8;
SecBlockWithHint<word64, SIZE> block(SIZE);
- memset(block, 0xaa, block.SizeInBytes());
+ std::memset(block, 0xaa, block.SizeInBytes());
temp = true;
block.CleanGrow(SIZE*2);
@@ -960,7 +960,7 @@ bool TestSecBlock() {
static const unsigned int SIZE = 8;
SecBlock<word128, AllocatorWithCleanup<word128, true> > block(SIZE);
- memset(block, 0xaa, block.SizeInBytes());
+ std::memset(block, 0xaa, block.SizeInBytes());
temp = true;
block.CleanGrow(SIZE*2);
|