summaryrefslogtreecommitdiff
path: root/poly1305.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 /poly1305.cpp
parent358d0cfecd593d55160df38e133b9450aaf1cd59 (diff)
downloadcryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'poly1305.cpp')
-rw-r--r--poly1305.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/poly1305.cpp b/poly1305.cpp
index 354d76c4..576c003d 100644
--- a/poly1305.cpp
+++ b/poly1305.cpp
@@ -250,7 +250,7 @@ void Poly1305_Base<T>::Update(const byte *input, size_t length)
}
if (rem)
- memcpy(m_acc, input, rem);
+ std::memcpy(m_acc, input, rem);
m_idx = rem;
}
@@ -366,7 +366,7 @@ void Poly1305TLS_Base::Update(const byte *input, size_t length)
}
if (rem)
- memcpy(m_acc, input, rem);
+ std::memcpy(m_acc, input, rem);
m_idx = rem;
}