Test results for amd64, speed2supercop, crypto_dh/ecfp256h
[Page version: 20240911 13:07:51]
Measurements for amd64, speed2supercop, crypto_dh
Test results for amd64, speed2supercop, crypto_dh
Test results for crypto_dh/ecfp256h
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240909
Operation: crypto_dh
Primitive: ecfp256h
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
598396 | 209116 0 8 | 223091 792 1664 | T:v01/w8s8 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
604072 | 178404 0 8 | 192635 792 1664 | T:v01/w8s8 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
604836 | 180185 0 8 | 194611 792 1664 | T:v01/w8s8 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
605028 | 142794 0 8 | 156795 792 1664 | T:v01/w8s4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
609056 | 114608 0 8 | 129083 792 1664 | T:v01/w8s4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
609664 | 112843 0 8 | 127099 792 1664 | T:v01/w8s4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
615208 | 108931 0 8 | 122939 792 1664 | T:v01/w8s2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
615736 | 168533 0 8 | 181947 784 1632 | T:v01/w8s8 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
619292 | 81939 0 8 | 96379 792 1664 | T:v01/w8s2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
620620 | 80153 0 8 | 94411 792 1664 | T:v01/w8s2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
621188 | 102997 0 8 | 116411 784 1632 | T:v01/w8s4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
632552 | 70257 0 8 | 83651 784 1632 | T:v01/w8s2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
637656 | 92298 0 8 | 106283 792 1664 | T:v01/w8s1 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
643364 | 65386 0 8 | 79827 792 1664 | T:v01/w8s1 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
644008 | 63648 0 8 | 77883 792 1664 | T:v01/w8s1 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
655488 | 53793 0 8 | 67195 784 1632 | T:v01/w8s1 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
950880 | 79513 0 8 | 93548 832 1568 | T:v01/var | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
954144 | 118749 0 8 | 136299 832 1600 | T:v01/var | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
956944 | 111283 0 8 | 128643 832 1600 | T:v01/var | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
957336 | 108256 0 8 | 124956 832 1568 | T:v01/var | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
961428 | 74267 0 8 | 89141 824 1632 | T:v01/var | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
1010276 | 74718 0 8 | 88707 792 1664 | T:v01/var | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
1010536 | 48180 0 8 | 62627 792 1664 | T:v01/var | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
1021176 | 47119 0 8 | 61339 792 1664 | T:v01/var | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 20240625 |
1032176 | 37610 0 8 | 50947 784 1632 | T:v01/var | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240704 | 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_256h.c: In file included from ec_fp_256h.c:18:
ec_fp_256h.c: In file included from ./finite256.h:24:
ec_fp_256h.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256h.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:347:20: warning: unused function 'fp_add_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: ^
ec_fp_256h.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_256h.c: In file included from try_ec_fp_256h.c:3:
try_ec_fp_256h.c: In file included from ./finite256.h:24:
try_ec_fp_256h.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE unsigned int fp_is0_256(uni an){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_ml2_256(uni zn, uni an){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_dv2_256(uni zn, uni an){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:175:20: warning: unused function 'fp_cpy_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_cpy_256(uni zn, uni an){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:195:20: warning: unused function 'fp_set_1_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_set_1_256(uni zn, uni_t a){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: ./fp_256x8664.h:257:20: warning: unused function 'fp_sub_1_256' [-Wunused-function]
try_ec_fp_256h.c: static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256h.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_256h.c: In file included from crympix.h:30,
ec_fp_256h.c: from ec_fp_256h.c:17:
ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256h.c: | ^
ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256h.c: | ^
ec_fp_256h.c: In file included from finite256.h:24,
ec_fp_256h.c: from ec_fp_256h.c:18:
ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: | ^~~~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:96:20: warning: 'fp_ml2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.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_256h.c: In file included from crympix.h:30,
try_ec_fp_256h.c: from try_ec_fp_256h.c:2:
try_ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: In file included from finite256.h:24,
try_ec_fp_256h.c: from try_ec_fp_256h.c:3:
try_ec_fp_256h.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:302:20: warning: 'fp_sub_2_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 302 | static INLINE void fp_sub_2_256(uni zn, uni_t a, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:257:20: warning: 'fp_sub_1_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 257 | static INLINE void fp_sub_1_256(uni zn, uni an, uni_t b){
try_ec_fp_256h.c: | ^~~~~~~~~~~~
try_ec_fp_256h.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_256h.c: In file included from ec_fp_256h.c:18:
ec_fp_256h.c: In file included from ./finite256.h:24:
ec_fp_256h.c: ./fp_256x8664.h:13:28: warning: unused function 'fp_is0_256' [-Wunused-function]
ec_fp_256h.c: static INLINE unsigned int fp_is0_256(uni an){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:17:20: warning: unused function 'fp_mld_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:96:20: warning: unused function 'fp_ml2_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:142:20: warning: unused function 'fp_dv2_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:211:20: warning: unused function 'fp_add_1_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: ^
ec_fp_256h.c: ./fp_256x8664.h:347:20: warning: unused function 'fp_add_256' [-Wunused-function]
ec_fp_256h.c: static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: ^
ec_fp_256h.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_256h.c: try_ec_fp_256h.c:39:2: error: call to undeclared function 'ec_fp_smulbase_256h'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
try_ec_fp_256h.c: ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: ^
try_ec_fp_256h.c: 1 error generated.
Number of similar (implementation,compiler) pairs: 20, 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)) |
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)) |
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)) |
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_256h.c: In file included from crympix.h:30,
ec_fp_256h.c: from ec_fp_256h.c:17:
ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256h.c: | ^
ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256h.c: | ^
ec_fp_256h.c: In file included from finite256.h:24,
ec_fp_256h.c: from ec_fp_256h.c:18:
ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: | ^~~~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:96:20: warning: 'fp_ml2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.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_256h.c: In file included from crympix.h:30,
try_ec_fp_256h.c: from try_ec_fp_256h.c:2:
try_ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s1_timingleaks_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:9: warning: implicit declaration of function 'ec_fp_smulbase_256h'; did you mean 'ec_fp_smulbase_256i'? [-Wimplicit-function-declaration]
try_ec_fp_256h.c: 39 | ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: | ^~~~~~~~~~~~~~~~~~~
try_ec_fp_256h.c: | ec_fp_smulbase_256i
try_ec_fp_256h.c: In file included from finite256.h:24,
try_ec_fp_256h.c: from try_ec_fp_256h.c:3:
try_ec_fp_256h.c: fp_256x8664.h: At top level:
try_ec_fp_256h.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.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: 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_256h.c: In file included from crympix.h:30,
ec_fp_256h.c: from ec_fp_256h.c:17:
ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256h.c: | ^
ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256h.c: | ^
ec_fp_256h.c: In file included from finite256.h:24,
ec_fp_256h.c: from ec_fp_256h.c:18:
ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: | ^~~~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:96:20: warning: 'fp_ml2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.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_256h.c: In file included from crympix.h:30,
try_ec_fp_256h.c: from try_ec_fp_256h.c:2:
try_ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s2_timingleaks_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:9: warning: implicit declaration of function 'ec_fp_smulbase_256h'; did you mean 'ec_fp_smulbase_256i'? [-Wimplicit-function-declaration]
try_ec_fp_256h.c: 39 | ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: | ^~~~~~~~~~~~~~~~~~~
try_ec_fp_256h.c: | ec_fp_smulbase_256i
try_ec_fp_256h.c: In file included from finite256.h:24,
try_ec_fp_256h.c: from try_ec_fp_256h.c:3:
try_ec_fp_256h.c: fp_256x8664.h: At top level:
try_ec_fp_256h.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.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: 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_256h.c: In file included from crympix.h:30,
ec_fp_256h.c: from ec_fp_256h.c:17:
ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256h.c: | ^
ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256h.c: | ^
ec_fp_256h.c: In file included from finite256.h:24,
ec_fp_256h.c: from ec_fp_256h.c:18:
ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: | ^~~~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:96:20: warning: 'fp_ml2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.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_256h.c: In file included from crympix.h:30,
try_ec_fp_256h.c: from try_ec_fp_256h.c:2:
try_ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s4_timingleaks_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:9: warning: implicit declaration of function 'ec_fp_smulbase_256h'; did you mean 'ec_fp_smulbase_256i'? [-Wimplicit-function-declaration]
try_ec_fp_256h.c: 39 | ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: | ^~~~~~~~~~~~~~~~~~~
try_ec_fp_256h.c: | ec_fp_smulbase_256i
try_ec_fp_256h.c: In file included from finite256.h:24,
try_ec_fp_256h.c: from try_ec_fp_256h.c:3:
try_ec_fp_256h.c: fp_256x8664.h: At top level:
try_ec_fp_256h.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.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: 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_256h.c: In file included from crympix.h:30,
ec_fp_256h.c: from ec_fp_256h.c:17:
ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
ec_fp_256h.c: | ^
ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
ec_fp_256h.c: | ^
ec_fp_256h.c: In file included from finite256.h:24,
ec_fp_256h.c: from ec_fp_256h.c:18:
ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:211:20: warning: 'fp_add_1_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 211 | static INLINE void fp_add_1_256(uni zn, uni an, uni_t b){
ec_fp_256h.c: | ^~~~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:142:20: warning: 'fp_dv2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 142 | static INLINE void fp_dv2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:96:20: warning: 'fp_ml2_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 96 | static INLINE void fp_ml2_256(uni zn, uni an){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.c: fp_256x8664.h:17:20: warning: 'fp_mld_256' defined but not used [-Wunused-function]
ec_fp_256h.c: 17 | static INLINE void fp_mld_256(uni zn, uni_t a, uni bn){
ec_fp_256h.c: | ^~~~~~~~~~
ec_fp_256h.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_256h.c: In file included from crympix.h:30,
try_ec_fp_256h.c: from try_ec_fp_256h.c:2:
try_ec_fp_256h.c: kernel.h:82:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 82 | //#define km_add_c(cr, z, a, b, c)if(1){ \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: kernel.h:95:1: warning: multi-line comment [-Wcomment]
try_ec_fp_256h.c: 95 | //#define km_add_c(cr, z, a, b, c) __asm__( \
try_ec_fp_256h.c: | ^
try_ec_fp_256h.c: try_ec_fp_256h.c: In function 'crypto_dh_ecfp256h_v01_w8s8_timingleaks_keypair':
try_ec_fp_256h.c: try_ec_fp_256h.c:39:9: warning: implicit declaration of function 'ec_fp_smulbase_256h'; did you mean 'ec_fp_smulbase_256i'? [-Wimplicit-function-declaration]
try_ec_fp_256h.c: 39 | ec_fp_smulbase_256h((uni)pk, (uni)(pk + (PUBLICKEY_BYTES/2)), (uni)zzn, (uni)sk, (uni *)xn0, (uni *)yn0);
try_ec_fp_256h.c: | ^~~~~~~~~~~~~~~~~~~
try_ec_fp_256h.c: | ec_fp_smulbase_256i
try_ec_fp_256h.c: In file included from finite256.h:24,
try_ec_fp_256h.c: from try_ec_fp_256h.c:3:
try_ec_fp_256h.c: fp_256x8664.h: At top level:
try_ec_fp_256h.c: fp_256x8664.h:670:20: warning: 'fp_sqr_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 670 | static INLINE void fp_sqr_256(uni zn, uni an){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:393:20: warning: 'fp_sub_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 393 | static INLINE void fp_sub_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.c: fp_256x8664.h:347:20: warning: 'fp_add_256' defined but not used [-Wunused-function]
try_ec_fp_256h.c: 347 | static INLINE void fp_add_256(uni zn, uni an, uni bn){
try_ec_fp_256h.c: | ^~~~~~~~~~
try_ec_fp_256h.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) |