aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-13 18:23:06 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-08-23 07:56:51 +0000
commitd2e26c23f3caa7928c46c3a6bded85fdc1a68cb3 (patch)
tree78381c86a73e46cc265d58dd9ff770fd56a1ec99 /src/crypto/crypto.h
parentMerge pull request #4249 (diff)
downloadmonero-d2e26c23f3caa7928c46c3a6bded85fdc1a68cb3.tar.xz
add and use constant time 32 byte equality function
Diffstat (limited to '')
-rw-r--r--src/crypto/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/crypto.h b/src/crypto/crypto.h
index c1576a218..33cc0a25a 100644
--- a/src/crypto/crypto.h
+++ b/src/crypto/crypto.h
@@ -283,6 +283,6 @@ namespace crypto {
}
CRYPTO_MAKE_HASHABLE(public_key)
-CRYPTO_MAKE_HASHABLE(secret_key)
+CRYPTO_MAKE_HASHABLE_CONSTANT_TIME(secret_key)
CRYPTO_MAKE_HASHABLE(key_image)
CRYPTO_MAKE_COMPARABLE(signature)