summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Crypto
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-17 08:55:19 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-17 08:55:19 +0100
commit73691a8587e5f09ef138384d2ff97e4059ba9380 (patch)
tree1b5509192851cdd3e6c09251c0051b33d8d3ca15 /Source/Core/Common/Crypto
parenta8ca2c6cc2ed6177bd26b6c022b919179a8ce37a (diff)
parent3fd87a7636ff434118a5d7f7334550be8db55c0b (diff)
Merge pull request #86 from lioncash/vertical-alignments2-electric-boogaloo
Second and final pass of clearing out tabs.
Diffstat (limited to 'Source/Core/Common/Crypto')
-rw-r--r--Source/Core/Common/Crypto/ec.cpp2
-rw-r--r--Source/Core/Common/Crypto/tools.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Crypto/ec.cpp b/Source/Core/Common/Crypto/ec.cpp
index d360a5b659..e1eb617406 100644
--- a/Source/Core/Common/Crypto/ec.cpp
+++ b/Source/Core/Common/Crypto/ec.cpp
@@ -307,7 +307,7 @@ static void point_add(u8 *r, u8 *p, u8 *q)
elt_add(ry, s, rx);
}
-void point_mul(u8 *d, const u8 *a, u8 *b) // a is bignum
+void point_mul(u8 *d, const u8 *a, u8 *b) // a is bignum
{
u32 i;
u8 mask;
diff --git a/Source/Core/Common/Crypto/tools.h b/Source/Core/Common/Crypto/tools.h
index d97995c093..0e4d49be1a 100644
--- a/Source/Core/Common/Crypto/tools.h
+++ b/Source/Core/Common/Crypto/tools.h
@@ -11,7 +11,7 @@ int bn_compare(u8 *a, u8 *b, u32 n);
void bn_sub_modulus(u8 *a, u8 *N, u32 n);
void bn_add(u8 *d, u8 *a, u8 *b, u8 *N, u32 n);
void bn_mul(u8 *d, u8 *a, u8 *b, u8 *N, u32 n);
-void bn_inv(u8 *d, u8 *a, u8 *N, u32 n); // only for prime N
+void bn_inv(u8 *d, u8 *a, u8 *N, u32 n); // only for prime N
void bn_exp(u8 *d, u8 *a, u8 *N, u32 n, u8 *e, u32 en);
void point_mul(u8 *d, const u8 *a, u8 *b);