Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Smith <brian@briansmith.org>2016-01-27 04:16:37 +0300
committerDavid Benjamin <davidben@google.com>2016-01-28 01:15:04 +0300
commit24e428899b96da6b569bc1a6f898f53acb008e75 (patch)
treea5b2bf828b3c55736bc089e0e4dae9e83ccebd08 /crypto/internal.h
parentf547007332eece528542835be35424d0a052a1a6 (diff)
Define `int128_t` and `uint128_t` in one place.
Change-Id: Ia93130aadf319eaba1b6f2ec2896a4c50d9e8ede Reviewed-on: https://boringssl-review.googlesource.com/6975 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r--crypto/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/internal.h b/crypto/internal.h
index 5574aab2..714f207e 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -188,6 +188,12 @@ void OPENSSL_cpuid_setup(void);
#endif
+#if !defined(_MSC_VER)
+typedef __int128_t int128_t;
+typedef __uint128_t uint128_t;
+#endif
+
+
/* Constant-time utility functions.
*
* The following methods return a bitmask of all ones (0xff...f) for true and 0