1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

curve25519-donna-c64: use limb instead of uint64_t everywhere for consistency

This commit is contained in:
Frank Denis 2014-11-20 11:46:25 -08:00
parent ae13df74e1
commit a31a353f0e

View File

@ -190,8 +190,8 @@ fsquare_times(felem output, const felem in, limb count) {
}
#if !defined(CPU_ALIGNED_ACCESS_REQUIRED) && defined(NATIVE_LITTLE_ENDIAN)
# define load_limb(p) (*((const uint64_t *) (p)))
# define store_limb(p, v) (*((uint64_t *) (p)) = (v))
# define load_limb(p) (*((const limb *) (p)))
# define store_limb(p, v) (*((limb *) (p)) = (v))
#else
static inline limb force_inline
load_limb(const u8 *in) {