summaryrefslogtreecommitdiff
path: root/blowfish.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 /blowfish.cpp
parent358d0cfecd593d55160df38e133b9450aaf1cd59 (diff)
downloadcryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'blowfish.cpp')
-rw-r--r--blowfish.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/blowfish.cpp b/blowfish.cpp
index e615da3b..c51f0845 100644
--- a/blowfish.cpp
+++ b/blowfish.cpp
@@ -13,8 +13,8 @@ void Blowfish::Base::UncheckedSetKey(const byte *key_string, unsigned int keylen
unsigned i, j=0, k;
word32 data, dspace[2] = {0, 0};
- memcpy(pbox, p_init, sizeof(p_init));
- memcpy(sbox, s_init, sizeof(s_init));
+ std::memcpy(pbox, p_init, sizeof(p_init));
+ std::memcpy(sbox, s_init, sizeof(s_init));
// Xor key string into encryption key vector
for (i=0 ; i<ROUNDS+2 ; ++i)