2020-03-03 15:16:16 +00:00
|
|
|
Index: nss/lib/freebl/verified/kremlin/include/kremlin/internal/types.h
|
|
|
|
===================================================================
|
|
|
|
--- nss.orig/lib/freebl/verified/kremlin/include/kremlin/internal/types.h
|
|
|
|
+++ nss/lib/freebl/verified/kremlin/include/kremlin/internal/types.h
|
|
|
|
@@ -56,7 +56,9 @@ typedef const char *Prims_string;
|
2020-02-17 13:29:52 +00:00
|
|
|
#include <emmintrin.h>
|
|
|
|
typedef __m128i FStar_UInt128_uint128;
|
|
|
|
#elif !defined(KRML_VERIFIED_UINT128) && !defined(_MSC_VER) && \
|
|
|
|
- (defined(__x86_64__) || defined(__x86_64) || defined(__aarch64__))
|
|
|
|
+ (defined(__x86_64__) || defined(__x86_64) || defined(__aarch64__) || \
|
2020-03-03 15:16:16 +00:00
|
|
|
+ (defined(__powerpc64__) && defined(__LITTLE_ENDIAN__)) || \
|
|
|
|
+ defined(__s390x__))
|
2020-02-17 13:29:52 +00:00
|
|
|
typedef unsigned __int128 FStar_UInt128_uint128;
|
|
|
|
#else
|
|
|
|
typedef struct FStar_UInt128_uint128_s {
|
2020-03-03 15:16:16 +00:00
|
|
|
Index: nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/fstar_uint128_gcc64.h
|
|
|
|
===================================================================
|
|
|
|
--- nss.orig/lib/freebl/verified/kremlin/kremlib/dist/minimal/fstar_uint128_gcc64.h
|
|
|
|
+++ nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/fstar_uint128_gcc64.h
|
|
|
|
@@ -25,7 +25,9 @@
|
2020-02-17 13:29:52 +00:00
|
|
|
#include "LowStar_Endianness.h"
|
|
|
|
|
|
|
|
#if !defined(KRML_VERIFIED_UINT128) && !defined(_MSC_VER) && \
|
|
|
|
- (defined(__x86_64__) || defined(__x86_64) || defined(__aarch64__))
|
|
|
|
+ (defined(__x86_64__) || defined(__x86_64) || defined(__aarch64__) || \
|
2020-03-03 15:16:16 +00:00
|
|
|
+ (defined(__powerpc64__) && defined(__LITTLE_ENDIAN__)) || \
|
|
|
|
+ defined(__s390x__))
|
2020-02-17 13:29:52 +00:00
|
|
|
|
|
|
|
/* GCC + using native unsigned __int128 support */
|
|
|
|
|