Fix compiling komodo_curve25519.h on ARMv8
This commit is contained in:
@@ -81,7 +81,7 @@ bits320 fexpand(bits256 basepoint)
|
|||||||
return(out);
|
return(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __amd64__
|
#if defined(__amd64__) || defined(__aarch64)
|
||||||
// donna: special gcc mode for 128-bit integers. It's implemented on 64-bit platforms only as far as I know.
|
// donna: special gcc mode for 128-bit integers. It's implemented on 64-bit platforms only as far as I know.
|
||||||
typedef unsigned uint128_t __attribute__((mode(TI)));
|
typedef unsigned uint128_t __attribute__((mode(TI)));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user