diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-03-06 12:57:09 +1000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-03-11 14:45:18 +0100 |
commit | 98f29466dc1ed7f80b9b8750309a41b5a1150d25 (patch) | |
tree | cf2d29ebbf54b02dd6b9b920db80aab3e636cdda /crypto/ec/curve448/f_generic.c | |
parent | 2a6a56073ce2ccac3e8c83b5434c6472ab6354e4 (diff) |
fix truncation of integers on 32bit AIX
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8417)
Diffstat (limited to 'crypto/ec/curve448/f_generic.c')
-rw-r--r-- | crypto/ec/curve448/f_generic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ec/curve448/f_generic.c b/crypto/ec/curve448/f_generic.c index e459e54dda..7e63998a21 100644 --- a/crypto/ec/curve448/f_generic.c +++ b/crypto/ec/curve448/f_generic.c @@ -12,9 +12,9 @@ #include "field.h" static const gf MODULUS = { - FIELD_LITERAL(0xffffffffffffff, 0xffffffffffffff, 0xffffffffffffff, - 0xffffffffffffff, 0xfffffffffffffe, 0xffffffffffffff, - 0xffffffffffffff, 0xffffffffffffff) + FIELD_LITERAL(0xffffffffffffffULL, 0xffffffffffffffULL, 0xffffffffffffffULL, + 0xffffffffffffffULL, 0xfffffffffffffeULL, 0xffffffffffffffULL, + 0xffffffffffffffULL, 0xffffffffffffffULL) }; /* Serialize to wire format. */ |