Tags: acrop/wolfssl
Tags
Merge pull request wolfSSL#4359 from douzzer/fipsv3-rebased fips 140-3 linuxkm edition
Fixes the following warnings on Win32/MINGW64 [build] wolfssl/wolfcrypt/src/sp_c64.c:893:16: warning: left shift count >= width of type [-Wshift-count-overflow] [build] 893 | *rho = (1L << 57) - x; [build] | ^~ [build] wolfssl/wolfcrypt/src/sp_c64.c: In function 'sp_3072_mont_setup': [build] wolfssl/wolfcrypt/src/sp_c64.c:5091:16: warning: left shift count >= width of type [-Wshift-count-overflow] [build] 5091 | *rho = (1L << 57) - x; [build] | ^~ [build] wolfssl/wolfcrypt/src/sp_c64.c: In function 'sp_4096_mont_setup': [build] wolfssl/wolfcrypt/src/sp_c64.c:9407:16: warning: left shift count >= width of type [-Wshift-count-overflow] [build] 9407 | *rho = (1L << 53) - x; [build] | ^~ [build] wolfssl/wolfcrypt/src/sp_c64.c: In function 'sp_4096_div_78': [build] wolfssl/wolfcrypt/src/sp_c64.c:10969:36: warning: left shift count >= width of type [-Wshift-count-overflow] [build] 10969 | sp_4096_mul_d_78(sd, d, 1L << 38); [build] | ^~ [build] wolfssl/wolfcrypt/src/sp_c64.c:10970:37: warning: left shift count >= width of type [-Wshift-count-overflow] [build] 10970 | sp_4096_mul_d_156(t1, a, 1L << 38);
PreviousNext