| commit | 24e428899b96da6b569bc1a6f898f53acb008e75 | [log] [tgz] |
|---|---|---|
| author | Brian Smith <brian@briansmith.org> | Tue Jan 26 15:16:37 2016 -1000 |
| committer | David Benjamin <davidben@google.com> | Wed Jan 27 22:15:04 2016 +0000 |
| tree | a5b2bf828b3c55736bc089e0e4dae9e83ccebd08 | |
| parent | f547007332eece528542835be35424d0a052a1a6 [diff] [blame] |
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>
diff --git a/crypto/internal.h b/crypto/internal.h index 5574aab..714f207 100644 --- a/crypto/internal.h +++ b/crypto/internal.h
@@ -188,6 +188,12 @@ #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