summaryrefslogtreecommitdiff
path: root/seal.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2023-04-15 16:45:02 -0400
committerGitHub <noreply@github.com>2023-04-15 16:45:02 -0400
commitf5f63850f9a5521e45de3cc45be61309a2e71ab2 (patch)
treed9ec904ebd511ae673e89790a407f0cdcf0b9bbc /seal.cpp
parent358d0cfecd593d55160df38e133b9450aaf1cd59 (diff)
downloadcryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'seal.cpp')
-rw-r--r--seal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/seal.cpp b/seal.cpp
index fea047e7..9328e6dd 100644
--- a/seal.cpp
+++ b/seal.cpp
@@ -24,7 +24,7 @@ struct SEAL_Gamma
: H(5), Z(5), D(16), lastIndex(0xffffffff)
{
GetUserKey(BIG_ENDIAN_ORDER, H.begin(), 5, key, 20);
- memset(D, 0, 64);
+ std::memset(D, 0, 64);
}
word32 Apply(word32 i);
@@ -38,7 +38,7 @@ word32 SEAL_Gamma::Apply(word32 i)
word32 shaIndex = i/5;
if (shaIndex != lastIndex)
{
- memcpy(Z, H, 20);
+ std::memcpy(Z, H, 20);
D[0] = shaIndex;
SHA1::Transform(Z, D);
lastIndex = shaIndex;