summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Crypto
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-07-13 06:20:45 +0200
committerPierre Bourdon <delroth@gmail.com>2014-07-13 06:20:45 +0200
commit12fa5ba8b4894375807eec4bc936050fade7b01b (patch)
tree5f72bfb51ee422cc6dfd4138ae213cf187be70a9 /Source/Core/Common/Crypto
parentb2fa0ea3dcbf388739b5290e750d738043597703 (diff)
parent0ccee6c87b78843caf4bb0dce48a46144e05f69e (diff)
Merge pull request #607 from Tilka/fix_warnings
Fix warnings unearthed by #579
Diffstat (limited to 'Source/Core/Common/Crypto')
-rw-r--r--Source/Core/Common/Crypto/ec.cpp2
-rw-r--r--Source/Core/Common/Crypto/ec.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/Common/Crypto/ec.cpp b/Source/Core/Common/Crypto/ec.cpp
index b324f1ec79..b75411b0d6 100644
--- a/Source/Core/Common/Crypto/ec.cpp
+++ b/Source/Core/Common/Crypto/ec.cpp
@@ -297,7 +297,7 @@ static void point_add(u8 *r, const u8 *p, const u8 *q)
elt_add(ry, s, rx);
}
-void point_mul(u8 *d, const u8 *a, const u8 *b) // a is bignum
+static void point_mul(u8 *d, const u8 *a, const u8 *b) // a is bignum
{
u32 i;
u8 mask;
diff --git a/Source/Core/Common/Crypto/ec.h b/Source/Core/Common/Crypto/ec.h
index 14329d41cc..efbc7e903b 100644
--- a/Source/Core/Common/Crypto/ec.h
+++ b/Source/Core/Common/Crypto/ec.h
@@ -6,8 +6,6 @@
#include "Common/CommonTypes.h"
-void point_mul(u8 *d, const u8 *a, const u8 *b);
-
void generate_ecdsa(u8 *R, u8 *S, const u8 *k, const u8 *hash);
void ec_priv_to_pub(const u8 *k, u8 *Q);