You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just FYI, I will try to create a pull request with a fix later.
gcc -Iltm -Iltc/headers -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE -ggdb -O2 -pipe -Wall -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/mnt/share/cygpkgs/perl/perl.x86_64/build=/usr/src/debug/perl-5.36.3-1 -fdebug-prefix-map=/mnt/share/cygpkgs/perl/perl.x86_64/src/perl-5.36.3=/usr/src/debug/perl-5.36.3-1 -fwrapv -fno-strict-aliasing -O3 -msse4.1 -maes -Wall -Werror -Wextra -DARGTYPE=4 -c ltc/ciphers/sm4.c -o ltc/ciphers/sm4.o
In file included from ltc/headers/tomcrypt.h:12,
from ltc/headers/tomcrypt_private.h:4,
from ltc/ciphers/sm4.c:18:
ltc/ciphers/sm4.c:140:29: error: expected identifier or ‘(’ before numeric constant
140 | LTC_INLINE static sm4_u32_t _L(sm4_u32_t B)
| ^~
ltc/ciphers/sm4.c: In function ‘_T’:
ltc/ciphers/sm4.c:150:12: error: called object is not a function or function pointer
150 | return _L(t(Z));
| ^~
ltc/ciphers/sm4.c:151:1: error: control reaches end of non-void function [-Werror=return-type]
151 | }
| ^
At top level:
ltc/ciphers/sm4.c:287:12: error: ‘sm4_self_test_ltc’ defined but not used [-Werror=unused-function]
287 | static int sm4_self_test_ltc(void)
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:199: ltc/ciphers/sm4.o] Error 1
Just FYI, I will try to create a pull request with a fix later.
The text was updated successfully, but these errors were encountered: