With the recent release of OpenSSL 1.1.1, I tried to cross compile it
for a 32-bit ARM architecture. I observe many compiler warnings similar
to the following:
crypto/ec/curve448/curve448.c:30: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/curve448.c:30: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/curve448.c:30: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/curve448.c:30: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/curve448_tables.c:19: warning: integer constant is
too large for 'long' type
crypto/ec/curve448/f_generic.c:15: warning: integer constant is too
large for 'long' type
crypto/ec/curve448/f_generic.c:15: warning: integer constant is too
large for 'long' type
crypto/ec/curve448/f_generic.c:15: warning: integer constant is too
large for 'long' type
crypto/ec/curve448/f_generic.c:15: warning: integer constant is too
large for 'long' type
crypto/ec/curve448/f_generic.c:15: warning: integer constant is too
large for 'long' type
crypto/ec/curve448/scalar.c:17: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/scalar.c:21: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/scalar.c:21: warning: integer constant is too large
for 'long' type
crypto/ec/curve448/scalar.c:21: warning: integer constant is too large
for 'long' type
There were many many more of these, which I omitted for brevity. I
looked at the source and it does look like the code is trying to stuff a
64-bit constant into a 32-bit variable. Does OpenSSL-1.1.1 work on
32-bit architectures?
Jay
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users