Test results for amd64, speed2supercop, crypto_dh/ecfp256e
[Page version: 20240911 13:07:51]
Measurements for amd64, speed2supercop, crypto_dh
Test results for amd64, speed2supercop, crypto_dh
Test results for crypto_dh/ecfp256e
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240909
Operation: crypto_dh
Primitive: ecfp256e
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
488160 | 233278 0 8 | 248189 824 1632 | T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
489200 | 277555 0 8 | 295155 832 1600 | T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
490356 | 270399 0 8 | 287787 832 1600 | T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
490392 | 238794 0 8 | 252852 832 1568 | T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
492304 | 167742 0 8 | 182653 824 1632 | T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
493152 | 267014 0 8 | 283684 832 1568 | T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
494812 | 212035 0 8 | 229619 832 1600 | T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
495632 | 207167 0 8 | 224579 832 1600 | T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
495756 | 173258 0 8 | 187316 832 1568 | T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
495788 | 201494 0 8 | 218212 832 1568 | T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
501232 | 134984 0 8 | 149885 824 1632 | T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
503776 | 185790 0 8 | 203379 832 1600 | T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
504520 | 172818 0 8 | 190211 832 1600 | T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
506024 | 140490 0 8 | 154548 832 1568 | T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
506192 | 175317 0 8 | 192036 832 1568 | T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
512000 | 215744 0 8 | 229739 792 1664 | T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
517260 | 149300 0 8 | 163299 792 1664 | T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
522624 | 118492 0 8 | 133373 824 1632 | T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
523572 | 162750 0 8 | 180339 832 1600 | T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
524692 | 181294 0 8 | 195755 792 1664 | T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
524780 | 155583 0 8 | 172971 832 1600 | T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
524784 | 123985 0 8 | 138036 832 1568 | T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
525768 | 115386 0 8 | 129419 792 1664 | T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
526024 | 152176 0 8 | 168868 832 1568 | T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
529092 | 115743 0 8 | 130219 792 1664 | T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
531208 | 170034 0 8 | 183411 784 1632 | T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
531948 | 179393 0 8 | 193667 792 1664 | T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
536032 | 104495 0 8 | 117875 784 1632 | T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
536200 | 113821 0 8 | 128067 792 1664 | T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
538988 | 82973 0 8 | 97483 792 1664 | T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
541936 | 81051 0 8 | 95299 792 1664 | T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
546828 | 71726 0 8 | 85107 784 1632 | T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
547360 | 98697 0 8 | 112683 792 1664 | T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
562232 | 66477 0 8 | 80939 792 1664 | T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
567284 | 55295 0 8 | 68723 784 1632 | T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
568248 | 64575 0 8 | 78851 792 1664 | T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
795784 | 95981 0 8 | 110877 824 1632 | T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
795844 | 132708 0 8 | 150091 832 1600 | T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
797460 | 134214 0 8 | 151787 832 1600 | T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
799316 | 101370 0 8 | 115412 832 1568 | T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
799848 | 123849 0 8 | 140508 832 1568 | T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
840028 | 80785 0 8 | 94779 792 1664 | T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
852012 | 49072 0 8 | 63555 792 1664 | T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
861960 | 47870 0 8 | 62107 792 1664 | T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
874852 | 38581 0 8 | 51987 784 1632 | T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
Compiler output
alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ec_fp_256e.c:81:13: warning: unused function 'ec_fp_dbl_256Ee' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_dbl_256Ee(uni X3, uni Y3, uni T3, uni Z3, const uni X1, const uni Y1, const uni Z1){
ec_fp_256e.c: ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: ^
ec_fp_256e.c: 7 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c: kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c: ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c: kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c: ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: if((buf[i] == -1)){
io.c: ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: if((buf[i] == -1)){
io.c: ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: if((buf[i] == -1)){
io.c: ^~
io.c: =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 79 | kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 94 | kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 110 | kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: ec_fp_256e.c:81:13: warning: 'ec_fp_dbl_256Ee' defined but not used [-Wunused-function]
ec_fp_256e.c: 81 | static void ec_fp_dbl_256Ee(uni X3, uni Y3, uni T3, uni Z3, const uni X1, const uni Y1, const uni Z1){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c: 44 | kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: | |
error.c: | char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c: 29 | void kn_exit(sic_t *s, uni_t code)
error.c: | ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c: 551 | kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: | |
integer_lo.c: | char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c: 132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c: | ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 340 | kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 350 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 353 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256e.c: | ^~~~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c: kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c: ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c: kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c: ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: if((buf[i] == -1)){
io.c: ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: if((buf[i] == -1)){
io.c: ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: if((buf[i] == -1)){
io.c: ^~
io.c: =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./ec_fp_256e.h:519:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:v01/w8s1 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s1 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s1 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s1 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s1 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 79 | kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 94 | kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 110 | kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c: 44 | kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: | |
error.c: | char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c: 29 | void kn_exit(sic_t *s, uni_t code)
error.c: | ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c: 551 | kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: | |
integer_lo.c: | char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c: 132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c: | ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 340 | kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 350 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 353 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s1_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:519:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 519 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c: kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c: ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c: kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c: ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: if((buf[i] == -1)){
io.c: ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: if((buf[i] == -1)){
io.c: ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: if((buf[i] == -1)){
io.c: ^~
io.c: =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./ec_fp_256e.h:1031:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:v01/w8s2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 79 | kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 94 | kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 110 | kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c: 44 | kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: | |
error.c: | char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c: 29 | void kn_exit(sic_t *s, uni_t code)
error.c: | ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c: 551 | kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: | |
integer_lo.c: | char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c: 132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c: | ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 340 | kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 350 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 353 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s2_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:1031:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 1031 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c: kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c: ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c: kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c: ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: if((buf[i] == -1)){
io.c: ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: if((buf[i] == -1)){
io.c: ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: if((buf[i] == -1)){
io.c: ^~
io.c: =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./ec_fp_256e.h:2055:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:v01/w8s4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 79 | kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 94 | kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 110 | kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c: 44 | kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: | |
error.c: | char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c: 29 | void kn_exit(sic_t *s, uni_t code)
error.c: | ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c: 551 | kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: | |
integer_lo.c: | char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c: 132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c: | ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 340 | kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 350 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 353 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s4_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:2055:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 2055 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
Compiler output
alloc.c: alloc.c:79:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:94:11: warning: passing 'char[13]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:110:11: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: ^~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:133:11: warning: passing 'char[33]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: kn_exit("kn_alloc: cannot allocate memory", 0);
alloc.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: ./_core.h:132:21: note: passing argument to parameter 's' here
alloc.c: void kn_exit(sic_t *s, uni_t code);
alloc.c: ^
alloc.c: alloc.c:154:12: warning: passing 'char[8]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
alloc.c: ...
ec_fp_256e.c: In file included from ec_fp_256e.c:16:
ec_fp_256e.c: In file included from ./finite256.h:24:
ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
ec_fp_256e.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: unused function 'ec_fp_madd_256Ex' [-Wunused-function]
ec_fp_256e.c: static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: ^
ec_fp_256e.c: 6 warnings generated.
error.c: error.c:44:11: warning: passing 'char[56]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
error.c: kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: error.c:29:21: note: passing argument to parameter 's' here
error.c: void kn_exit(sic_t *s, uni_t code)
error.c: ^
error.c: 1 warning generated.
fp_256x8664.c: In file included from fp_256x8664.c:4:
fp_256x8664.c: In file included from ./finite256.h:24:
fp_256x8664.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
fp_256x8664.c: static INLINE unsigned int fp_is0_256(uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_ml2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_dv2_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_cpy_256(uni zn, uni an){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ^
fp_256x8664.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
fp_256x8664.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
fp_256x8664.c: ...
integer_hi_stack.c: integer_hi_stack.c:65:8: warning: unused variable 'tAH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:13: warning: unused variable 'tAL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:18: warning: unused variable 'tBH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:23: warning: unused variable 'tBL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:28: warning: unused variable 'tCH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:33: warning: unused variable 'tCL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:38: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:43: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ^
integer_hi_stack.c: integer_hi_stack.c:65:48: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: ...
integer_lo.c: integer_lo.c:551:10: warning: passing 'char[35]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
integer_lo.c: kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: ./kernel.h:814:18: note: passing argument to parameter 's' here
integer_lo.c: void kn_exit(sic s, uni_t code);
integer_lo.c: ^
integer_lo.c: 1 warning generated.
io.c: io.c:340:11: warning: passing 'char[32]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:350:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ./_core.h:132:21: note: passing argument to parameter 's' here
io.c: void kn_exit(sic_t *s, uni_t code);
io.c: ^
io.c: io.c:352:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
io.c: if((buf[i] == -1)){
io.c: ~~~~~~~^~~~~
io.c: io.c:352:14: note: remove extraneous parentheses around the comparison to silence this warning
io.c: if((buf[i] == -1)){
io.c: ~ ^ ~
io.c: io.c:352:14: note: use '=' to turn this equality comparison into an assignment
io.c: if((buf[i] == -1)){
io.c: ^~
io.c: =
io.c: io.c:353:12: warning: passing 'char[31]' to parameter of type 'sic_t *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
io.c: kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: ...
try_ec_fp_256e.c: try_ec_fp_256e.c:29:2: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./ec_fp_256e.h:4103:4: note: expanded from macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: In file included from ./finite256.h:24:
try_ec_fp_256e.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256e.c: ^
try_ec_fp_256e.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256e.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:v01/w8s8 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s8 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s8 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s8 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:v01/w8s8 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
alloc.c: alloc.c: In function 'kn_init_fast':
alloc.c: alloc.c:79:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 79 | kn_exit("kn_init_fast", ERR_OUT_OF_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: In file included from alloc.c:27:
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_free_fast':
alloc.c: alloc.c:94:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 94 | kn_exit("kn_free_fast", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
alloc.c: 132 | void kn_exit(sic_t *s, uni_t code);
alloc.c: | ~~~~~~~^
alloc.c: alloc.c: In function 'kn_kill_fast':
alloc.c: alloc.c:110:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
alloc.c: 110 | kn_exit("kn_kill", ERR_INVALID_MEMORY);
alloc.c: | ^~~~~~~~~
alloc.c: | |
alloc.c: | char *
alloc.c: ...
array_lo.c: In file included from array_lo.c:24:
array_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
array_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
array_lo.c: | ^
array_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
array_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
array_lo.c: | ^
ec_fp_256e.c: In file included from crympix.h:30,
ec_fp_256e.c: from ec_fp_256e.c:15:
ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256e.c: | ^
ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256e.c: | ^
ec_fp_256e.c: ec_fp_256e.c:100:13: warning: 'ec_fp_madd_256Ex' defined but not used [-Wunused-function]
ec_fp_256e.c: 100 | static void ec_fp_madd_256Ex(uni X3, uni Y3, uni Z3, const uni X1, const uni Y1, const uni T1, const uni Z1, const uni X2, const uni Y2, const uni T2){
ec_fp_256e.c: | ^~~~~~~~~~~~~~~~
ec_fp_256e.c: In file included from finite256.h:24,
ec_fp_256e.c: from ec_fp_256e.c:16:
ec_fp_256e.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256e.c: | ^~~~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256e.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256e.c: | ^~~~~~~~~~
ec_fp_256e.c: ...
error.c: error.c: In function 'kn_memcheck':
error.c: error.c:44:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
error.c: 44 | kn_exit("Increase the workspace space using crypmix_init(maxlen)", ERR_OUT_OF_BOUNDS);
error.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: | |
error.c: | char *
error.c: error.c:29:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
error.c: 29 | void kn_exit(sic_t *s, uni_t code)
error.c: | ~~~~~~~^
fp_256x8664.c: In file included from crympix.h:30,
fp_256x8664.c: from fp_256x8664.c:2:
fp_256x8664.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
fp_256x8664.c: | ^
fp_256x8664.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
fp_256x8664.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
fp_256x8664.c: | ^
fp_256x8664.c: In file included from finite256.h:24,
fp_256x8664.c: from fp_256x8664.c:4:
fp_256x8664.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
fp_256x8664.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:437:20: warning: 'fp_mul_256' defined but not used [-Wunused-function]
fp_256x8664.c: 437 | static INLINE void fp_mul_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
fp_256x8664.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
fp_256x8664.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
fp_256x8664.c: | ^~~~~~~~~~
fp_256x8664.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
fp_256x8664.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
fp_256x8664.c: | ^~~~~~~~~~~~
fp_256x8664.c: ...
integer_hi_stack.c: In file included from integer_hi_stack.c:24:
integer_hi_stack.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_hi_stack.c: | ^
integer_hi_stack.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_hi_stack.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_hi_stack.c: | ^
integer_hi_stack.c: integer_hi_stack.c: In function 'min_gcdx_lehmer_stack':
integer_hi_stack.c: integer_hi_stack.c:68:30: warning: unused variable 'vaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:68:20: warning: unused variable 'uaL' [-Wunused-variable]
integer_hi_stack.c: 68 | uni_t uaH, uaL, vaH, vaL;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:60: warning: unused variable 'tq1' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:55: warning: unused variable 'tq0' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:50: warning: unused variable 'tDL' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: | ^~~
integer_hi_stack.c: integer_hi_stack.c:65:45: warning: unused variable 'tDH' [-Wunused-variable]
integer_hi_stack.c: 65 | uni_t tAH, tAL, tBH, tBL, tCH, tCL, tDH, tDL, tq0, tq1;
integer_hi_stack.c: ...
integer_lo.c: In file included from integer_lo.c:24:
integer_lo.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
integer_lo.c: | ^
integer_lo.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
integer_lo.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
integer_lo.c: | ^
integer_lo.c: integer_lo.c: In function 'min_nres_prepare2':
integer_lo.c: integer_lo.c:551:17: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
integer_lo.c: 551 | kn_exit("min_nres_prepare2: not implemented", 0);
integer_lo.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer_lo.c: | |
integer_lo.c: | char *
integer_lo.c: In file included from kernel.h:39:
integer_lo.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
integer_lo.c: 132 | void kn_exit(sic_t *s, uni_t code);
integer_lo.c: | ~~~~~~~^
io.c: io.c: In function 'kn_io_sscan':
io.c: io.c:340:25: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 340 | kn_exit("kn_io_fscan: zero length string", ERR_INVALID_STRING);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: In file included from io.c:27:
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:350:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 350 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: | ~~~~~~~^
io.c: io.c:353:33: warning: pointer targets in passing argument 1 of 'kn_exit' differ in signedness [-Wpointer-sign]
io.c: 353 | kn_exit("kn_io_fscan: invalid character", ERR_INVALID_CHARACTER);
io.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
io.c: | |
io.c: | char *
io.c: _core.h:132:21: note: expected 'sic_t *' {aka 'signed char *'} but argument is of type 'char *'
io.c: 132 | void kn_exit(sic_t *s, uni_t code);
io.c: ...
try_ec_fp_256e.c: In file included from crympix.h:30,
try_ec_fp_256e.c: from try_ec_fp_256e.c:2:
try_ec_fp_256e.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256e.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256e.c: | ^
try_ec_fp_256e.c: In file included from try_ec_fp_256e.c:4:
try_ec_fp_256e.c: try_ec_fp_256e.c: In function 'crypto_dh_ecfp256e_v01_w8s8_timingleaks_keypair':
try_ec_fp_256e.c: ec_fp_256e.h:4103:4: warning: unused variable 'tn0' [-Wunused-variable]
try_ec_fp_256e.c: 4103 | }, tn0[EC_FP_SMULBASE_CACHE_SIZE*EC_FP_SMULBASE_SLICE] = { \
try_ec_fp_256e.c: | ^~~
try_ec_fp_256e.c: try_ec_fp_256e.c:29:9: note: in expansion of macro 'EC_FP_SMULBASE_256E_CACHE'
try_ec_fp_256e.c: 29 | EC_FP_SMULBASE_256E_CACHE;
try_ec_fp_256e.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~
try_ec_fp_256e.c: In file included from finite256.h:24,
try_ec_fp_256e.c: from try_ec_fp_256e.c:3:
try_ec_fp_256e.c: fp_256x8664.h: At top level:
try_ec_fp_256e.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256e.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256e.c: | ^~~~~~~~~~
try_ec_fp_256e.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |