aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-03-05 17:20:36 +0900
committerstoffu <stoffu@protonmail.ch>2018-03-14 21:00:17 +0900
commitb2d23b189efaafe89082a9f14e376c2cbad42f40 (patch)
tree30f9dfff37773d22e2d6ccbd3803f8cae60b608e /src/crypto/crypto.cpp
parentkeypair::generate: always require hw::device to avoid possible mistake (diff)
downloadmonero-b2d23b189efaafe89082a9f14e376c2cbad42f40.tar.xz
crypto: revert odd namespace changes made in #3303
Diffstat (limited to 'src/crypto/crypto.cpp')
-rw-r--r--src/crypto/crypto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/crypto.cpp b/src/crypto/crypto.cpp
index 0c70b9eeb..494027560 100644
--- a/src/crypto/crypto.cpp
+++ b/src/crypto/crypto.cpp
@@ -436,7 +436,7 @@ namespace crypto {
return sc_isnonzero(&c2) == 0;
}
- void crypto_ops::hash_to_ec(const public_key &key, ge_p3 &res) {
+ static void hash_to_ec(const public_key &key, ge_p3 &res) {
hash h;
ge_p2 point;
ge_p1p1 point2;