aboutsummaryrefslogtreecommitdiff
path: root/src/ext/curve25519_donna
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-03 22:59:33 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-02 14:11:13 -0500
commit4d36eafd74e9c66a0dc76e5543a2aaabfa11f8b2 (patch)
tree3845e4a7b134624f4c586d9f864aa4fa0c0190ff /src/ext/curve25519_donna
parentcf4dd5fbcb15fbaef47156c8602ee75877333ebd (diff)
downloadtor-4d36eafd74e9c66a0dc76e5543a2aaabfa11f8b2.tar
tor-4d36eafd74e9c66a0dc76e5543a2aaabfa11f8b2.tar.gz
curve25519-donna-c64: make endian-neutralness fns static
Diffstat (limited to 'src/ext/curve25519_donna')
-rw-r--r--src/ext/curve25519_donna/curve25519-donna-c64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/curve25519_donna/curve25519-donna-c64.c b/src/ext/curve25519_donna/curve25519-donna-c64.c
index b30bfbf15..b8ad62ea3 100644
--- a/src/ext/curve25519_donna/curve25519-donna-c64.c
+++ b/src/ext/curve25519_donna/curve25519-donna-c64.c
@@ -187,7 +187,7 @@ fsquare_times(felem output, const felem in, limb count) {
}
/* Load a little-endian 64-bit number */
-limb
+static limb
load_limb(const u8 *in)
{
return
@@ -201,7 +201,7 @@ load_limb(const u8 *in)
(((limb)in[7]) << 56);
}
-void
+static void
store_limb(u8 *out, limb in)
{
out[0] = in & 0xff;