summaryrefslogtreecommitdiff
path: root/mqv.h
diff options
context:
space:
mode:
Diffstat (limited to 'mqv.h')
-rw-r--r--mqv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mqv.h b/mqv.h
index 7ab18e55..b7bfc7d4 100644
--- a/mqv.h
+++ b/mqv.h
@@ -176,7 +176,7 @@ public:
void GenerateEphemeralPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
{
CRYPTOPP_UNUSED(rng);
- memcpy(publicKey, privateKey+StaticPrivateKeyLength(), EphemeralPublicKeyLength());
+ std::memcpy(publicKey, privateKey+StaticPrivateKeyLength(), EphemeralPublicKeyLength());
}
/// \brief Derive agreed value or shared secret