mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
curve25519-donna-c64: make endian-neutralness fns static
This commit is contained in:
parent
cf4dd5fbcb
commit
4d36eafd74
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user