curve25519-donna-c64: make endian-neutralness fns static

This commit is contained in:
Nick Mathewson 2012-12-03 22:59:33 -05:00
parent cf4dd5fbcb
commit 4d36eafd74

View File

@ -187,7 +187,7 @@ fsquare_times(felem output, const felem in, limb count) {
} }
/* Load a little-endian 64-bit number */ /* Load a little-endian 64-bit number */
limb static limb
load_limb(const u8 *in) load_limb(const u8 *in)
{ {
return return
@ -201,7 +201,7 @@ load_limb(const u8 *in)
(((limb)in[7]) << 56); (((limb)in[7]) << 56);
} }
void static void
store_limb(u8 *out, limb in) store_limb(u8 *out, limb in)
{ {
out[0] = in & 0xff; out[0] = in & 0xff;