diff options
author | Brian Smith <brian@briansmith.org> | 2016-01-27 04:16:37 +0300 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-01-28 01:15:04 +0300 |
commit | 24e428899b96da6b569bc1a6f898f53acb008e75 (patch) | |
tree | a5b2bf828b3c55736bc089e0e4dae9e83ccebd08 /crypto/internal.h | |
parent | f547007332eece528542835be35424d0a052a1a6 (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.h | 6 |
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 |