]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/poly1305/poly1305.c
Use numbers definition of int128_t and uint128_t
[thirdparty/openssl.git] / crypto / poly1305 / poly1305.c
index 127ce7da2fe9e49cd4187ad6a98cafd163436807..be41a6d354d6fdb6fbb272d9750b107f62fcdcfd 100644 (file)
@@ -94,11 +94,10 @@ poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit);
          (a ^ ((a ^ b) | ((a - b) ^ b))) >> (sizeof(a) * 8 - 1) \
          )
 
-# if (defined(__SIZEOF_INT128__) && __SIZEOF_INT128__==16) && \
-     (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__==8)
+# if defined(INT64_MAX) && defined(INT128_MAX)
 
 typedef unsigned long u64;
-typedef __uint128_t u128;
+typedef uint128_t u128;
 
 typedef struct {
     u64 h[3];