OpenSSL 1.1.1 Compiler Warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux