Test results for armeabi, h7panda, crypto_kem/ntruhps4096821
[Page version: 20260131 15:44:05]
Measurements for armeabi, h7panda, crypto_kem
Test results for armeabi, h7panda, crypto_kem
Test results for crypto_kem/ntruhps4096821
Computer: h7panda
Microarchitecture: armeabi; Cortex-A9+NEON (411fc093)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20250922
Operation: crypto_kem
Primitive: ntruhps4096821
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 4072974 | 11056 0 0 | 42596 512 1632 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 4078648 | 10304 0 0 | 36900 512 1624 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 4149610 | 11056 0 0 | 46620 512 1632 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 4150532 | 10304 0 0 | 40924 512 1624 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 4732552 | 11128 0 0 | 42828 512 1632 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 4818481 | 11128 0 0 | 46852 512 1632 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 5198039 | 15568 0 0 | 42388 512 1624 | T:compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 5205861 | 17056 0 0 | 48804 512 1632 | T:compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 5271745 | 15568 0 0 | 46412 512 1624 | compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 5276739 | 17056 0 0 | 52828 512 1632 | compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 5804443 | 25904 0 0 | 51252 512 1632 | T:compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 5880836 | 25904 0 0 | 55276 512 1632 | compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 6076987 | 17008 0 0 | 48932 512 1632 | T:compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 6162192 | 17008 0 0 | 52956 512 1632 | compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 13121649 | 6284 0 0 | 30750 508 1624 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 13204791 | 6284 0 0 | 34774 508 1624 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 14281385 | 15640 0 0 | 40988 512 1632 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 14354550 | 15640 0 0 | 45012 512 1632 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 14391066 | 5780 0 0 | 30414 508 1624 | T:compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 14483164 | 5780 0 0 | 34438 508 1624 | compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 16219812 | 5720 0 0 | 30492 512 1624 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 16429002 | 5720 0 0 | 34516 512 1624 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 18037875 | 7756 0 0 | 32740 512 1624 | T:compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 18116149 | 7756 0 0 | 36764 512 1624 | compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 21151010 | 6008 0 0 | 29964 512 1632 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 21173499 | 6008 0 0 | 33988 512 1632 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 21513317 | 5884 0 0 | 29814 508 1624 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 21547098 | 5884 0 0 | 33838 508 1624 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 21774953 | 5552 0 0 | 28760 508 1624 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 21854800 | 5552 0 0 | 32784 508 1624 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 22432621 | 5828 0 0 | 29780 512 1632 | T:compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 22547282 | 5828 0 0 | 33804 512 1632 | compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 23568520 | 5052 0 0 | 28990 508 1624 | T:compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 23689534 | 5052 0 0 | 33014 508 1624 | compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 27976538 | 4692 0 0 | 28488 508 1624 | T:compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
| 28061771 | 4692 0 0 | 32512 508 1624 | compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251224 | 20250922 |
Compiler output
try.c: clang: error: no such file or directory: '.../supercop-data/h7panda/armeabi/lib/timecop/cpucycles.o'
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
Compiler output
try.c: In file included from try-anything-timecop.c:3:
try.c: try-anything.c:17:10: fatal error: cpucycles.h: No such file or directory
try.c: 17 | #include "cpucycles.h"
try.c: | ^~~~~~~~~~~~~
try.c: compilation terminated.
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
Compiler output
neon_poly_rq_mul.c: In file included from neon_poly_rq_mul.c:20:
neon_poly_rq_mul.c: In file included from ./rq_mul/neon_poly_rq_mul.c:24:
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:64:11: error: call to undeclared function 'vtrn1q_u16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
neon_poly_rq_mul.c: 64 | y16 = vtrn1q_u16(y0, y1);
neon_poly_rq_mul.c: | ^
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:64:11: note: did you mean 'vtrnq_u16'?
neon_poly_rq_mul.c: /usr/lib/clang/20/include/arm_neon.h:34049:51: note: 'vtrnq_u16' declared here
neon_poly_rq_mul.c: 34049 | __ai __attribute__((target("neon"))) uint16x8x2_t vtrnq_u16(uint16x8_t __p0, uint16x8_t __p1) {
neon_poly_rq_mul.c: | ^
neon_poly_rq_mul.c: In file included from neon_poly_rq_mul.c:20:
neon_poly_rq_mul.c: In file included from ./rq_mul/neon_poly_rq_mul.c:24:
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:64:9: error: assigning to 'uint16x8_t' (vector of 8 'uint16_t' values) from incompatible type 'int'
neon_poly_rq_mul.c: 64 | y16 = vtrn1q_u16(y0, y1);
neon_poly_rq_mul.c: | ^ ~~~~~~~~~~~~~~~~~~
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:65:11: error: call to undeclared function 'vtrn2q_u16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
neon_poly_rq_mul.c: 65 | y17 = vtrn2q_u16(y0, y1);
neon_poly_rq_mul.c: | ^
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:65:9: error: assigning to 'uint16x8_t' (vector of 8 'uint16_t' values) from incompatible type 'int'
neon_poly_rq_mul.c: 65 | y17 = vtrn2q_u16(y0, y1);
neon_poly_rq_mul.c: | ^ ~~~~~~~~~~~~~~~~~~
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:66:9: error: assigning to 'uint16x8_t' (vector of 8 'uint16_t' values) from incompatible type 'int'
neon_poly_rq_mul.c: 66 | y18 = vtrn1q_u16(y2, y3);
neon_poly_rq_mul.c: | ^ ~~~~~~~~~~~~~~~~~~
neon_poly_rq_mul.c: ./rq_mul/neon_matrix_transpose.c:67:9: error: assigning to 'uint16x8_t' (vector of 8 'uint16_t' values) from incompatible type 'int'
neon_poly_rq_mul.c: 67 | y19 = vtrn2q_u16(y2, y3);
neon_poly_rq_mul.c: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:neon | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:neon | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:neon | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:neon | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:neon | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
Compiler output
neon_poly_rq_mul.c: In file included from rq_mul/neon_poly_rq_mul.c:24,
neon_poly_rq_mul.c: from neon_poly_rq_mul.c:20:
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c: In function 'half_transpose_8x16':
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:64:11: error: implicit declaration of function 'vtrn1q_u16'; did you mean 'vtrnq_u16'? [-Wimplicit-function-declaration]
neon_poly_rq_mul.c: 64 | y16 = vtrn1q_u16(y0, y1);
neon_poly_rq_mul.c: | ^~~~~~~~~~
neon_poly_rq_mul.c: | vtrnq_u16
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:64:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:65:11: error: implicit declaration of function 'vtrn2q_u16'; did you mean 'vtrnq_u16'? [-Wimplicit-function-declaration]
neon_poly_rq_mul.c: 65 | y17 = vtrn2q_u16(y0, y1);
neon_poly_rq_mul.c: | ^~~~~~~~~~
neon_poly_rq_mul.c: | vtrnq_u16
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:65:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:66:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
neon_poly_rq_mul.c: 66 | y18 = vtrn1q_u16(y2, y3);
neon_poly_rq_mul.c: | ^~~~~~~~~~
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:67:11: error: incompatible types when assigning to type 'uint16x8_t' from type 'int'
neon_poly_rq_mul.c: 67 | y19 = vtrn2q_u16(y2, y3);
neon_poly_rq_mul.c: | ^~~~~~~~~~
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:68:23: error: implicit declaration of function 'vtrn1q_u32'; did you mean 'vtrnq_u32'? [-Wimplicit-function-declaration]
neon_poly_rq_mul.c: 68 | y24 = (uint16x8_t)vtrn1q_u32((uint32x4_t)y16, (uint32x4_t)y17);
neon_poly_rq_mul.c: | ^~~~~~~~~~
neon_poly_rq_mul.c: | vtrnq_u32
neon_poly_rq_mul.c: rq_mul/neon_matrix_transpose.c:68:5: error: cannot convert a value of type 'int' to vector type '__simd128_uint16_t' which has different size
neon_poly_rq_mul.c: 68 | y24 = (uint16x8_t)vtrn1q_u32((uint32x4_t)y16, (uint32x4_t)y17);
neon_poly_rq_mul.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:neon | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| T:neon | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| T:neon | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| T:neon | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
Compiler output
owcpa.c: owcpa.c:69:40: warning: argument 'seed' of type 'const unsigned char[3895]' with mismatched bound [-Warray-parameter]
owcpa.c: 69 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES])
owcpa.c: | ^
owcpa.c: ./owcpa.h:14:40: note: previously declared as 'const unsigned char[32]' here
owcpa.c: 14 | const unsigned char seed[NTRU_SEEDBYTES]);
owcpa.c: | ^
owcpa.c: 1 warning generated.
pack3.c: pack3.c:3:36: warning: argument 'msg' of type 'unsigned char[328]' with mismatched bound [-Warray-parameter]
pack3.c: 3 | void poly_S3_tobytes(unsigned char msg[NTRU_OWCPA_MSGBYTES], const poly *a)
pack3.c: | ^
pack3.c: ./poly.h:32:36: note: previously declared as 'unsigned char[164]' here
pack3.c: 32 | void poly_S3_tobytes(unsigned char msg[NTRU_PACK_TRINARY_BYTES], const poly *a);
pack3.c: | ^
pack3.c: pack3.c:19:53: warning: argument 'msg' of type 'const unsigned char[328]' with mismatched bound [-Warray-parameter]
pack3.c: 19 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_OWCPA_MSGBYTES])
pack3.c: | ^
pack3.c: ./poly.h:33:53: note: previously declared as 'const unsigned char[164]' here
pack3.c: 33 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_PACK_TRINARY_BYTES]);
pack3.c: | ^
pack3.c: 2 warnings generated.
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
Compiler output
owcpa.c: owcpa.c:69:40: warning: argument 'seed' of type 'const unsigned char[3895]' with mismatched bound [-Warray-parameter]
owcpa.c: 69 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES])
owcpa.c: | ^
owcpa.c: ./owcpa.h:14:40: note: previously declared as 'const unsigned char[32]' here
owcpa.c: 14 | const unsigned char seed[NTRU_SEEDBYTES]);
owcpa.c: | ^
owcpa.c: 1 warning generated.
pack3.c: pack3.c:3:36: warning: argument 'msg' of type 'unsigned char[328]' with mismatched bound [-Warray-parameter]
pack3.c: 3 | void poly_S3_tobytes(unsigned char msg[NTRU_OWCPA_MSGBYTES], const poly *a)
pack3.c: | ^
pack3.c: ./poly.h:32:36: note: previously declared as 'unsigned char[164]' here
pack3.c: 32 | void poly_S3_tobytes(unsigned char msg[NTRU_PACK_TRINARY_BYTES], const poly *a);
pack3.c: | ^
pack3.c: pack3.c:19:53: warning: argument 'msg' of type 'const unsigned char[328]' with mismatched bound [-Warray-parameter]
pack3.c: 19 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_OWCPA_MSGBYTES])
pack3.c: | ^
pack3.c: ./poly.h:33:53: note: previously declared as 'const unsigned char[164]' here
pack3.c: 33 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_PACK_TRINARY_BYTES]);
pack3.c: | ^
pack3.c: 2 warnings generated.
try.c: clang: error: no such file or directory: '.../supercop-data/h7panda/armeabi/lib/timecop/cpucycles.o'
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
Compiler output
owcpa.c: owcpa.c:69:40: warning: argument 3 of type 'const unsigned char[3895]' with mismatched bound [-Warray-parameter=]
owcpa.c: 69 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES])
owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
owcpa.c: In file included from owcpa.c:2:
owcpa.c: owcpa.h:14:40: note: previously declared as 'const unsigned char[32]'
owcpa.c: 14 | const unsigned char seed[NTRU_SEEDBYTES]);
owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
owcpa.c: owcpa.c: In function 'crypto_kem_ntruhps4096821_ref_constbranchindex_owcpa_keypair':
owcpa.c: <command-line>: warning: 'crypto_kem_ntruhps4096821_ref_constbranchindex_sample_fg' reading 3895 bytes from a region of size 32 [-Wstringop-overread]
owcpa.c: sample.h:9:19: note: in expansion of macro 'CRYPTO_NAMESPACE'
owcpa.c: 9 | #define sample_fg CRYPTO_NAMESPACE(sample_fg)
owcpa.c: | ^~~~~~~~~~~~~~~~
owcpa.c: owcpa.c:79:3: note: in expansion of macro 'sample_fg'
owcpa.c: 79 | sample_fg(f,g,seed);
owcpa.c: | ^~~~~~~~~
owcpa.c: <command-line>: note: referencing argument 3 of type 'const unsigned char[3895]'
owcpa.c: sample.h:9:19: note: in expansion of macro 'CRYPTO_NAMESPACE'
owcpa.c: 9 | #define sample_fg CRYPTO_NAMESPACE(sample_fg)
owcpa.c: | ^~~~~~~~~~~~~~~~
owcpa.c: owcpa.c:79:3: note: in expansion of macro 'sample_fg'
owcpa.c: 79 | sample_fg(f,g,seed);
owcpa.c: | ^~~~~~~~~
owcpa.c: <command-line>: note: in a call to function 'crypto_kem_ntruhps4096821_ref_constbranchindex_sample_fg'
owcpa.c: sample.h:9:19: note: in expansion of macro 'CRYPTO_NAMESPACE'
owcpa.c: 9 | #define sample_fg CRYPTO_NAMESPACE(sample_fg)
owcpa.c: ...
pack3.c: pack3.c:3:36: warning: argument 1 of type 'unsigned char[328]' with mismatched bound [-Warray-parameter=]
pack3.c: 3 | void poly_S3_tobytes(unsigned char msg[NTRU_OWCPA_MSGBYTES], const poly *a)
pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
pack3.c: In file included from pack3.c:1:
pack3.c: poly.h:32:36: note: previously declared as 'unsigned char[164]'
pack3.c: 32 | void poly_S3_tobytes(unsigned char msg[NTRU_PACK_TRINARY_BYTES], const poly *a);
pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pack3.c: pack3.c:19:53: warning: argument 2 of type 'const unsigned char[328]' with mismatched bound [-Warray-parameter=]
pack3.c: 19 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_OWCPA_MSGBYTES])
pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
pack3.c: poly.h:33:53: note: previously declared as 'const unsigned char[164]'
pack3.c: 33 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_PACK_TRINARY_BYTES]);
pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
try.c: In file included from try-anything-timecop.c:3:
try.c: try-anything.c:17:10: fatal error: cpucycles.h: No such file or directory
try.c: 17 | #include "cpucycles.h"
try.c: | ^~~~~~~~~~~~~
try.c: compilation terminated.
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
Compiler output
owcpa.c: owcpa.c:69:40: warning: argument 3 of type 'const unsigned char[3895]' with mismatched bound [-Warray-parameter=]
owcpa.c: 69 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES])
owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
owcpa.c: In file included from owcpa.c:2:
owcpa.c: owcpa.h:14:40: note: previously declared as 'const unsigned char[32]'
owcpa.c: 14 | const unsigned char seed[NTRU_SEEDBYTES]);
owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
owcpa.c: owcpa.c: In function 'crypto_kem_ntruhps4096821_ref_timingleaks_owcpa_keypair':
owcpa.c: <command-line>: warning: 'crypto_kem_ntruhps4096821_ref_timingleaks_sample_fg' reading 3895 bytes from a region of size 32 [-Wstringop-overread]
owcpa.c: sample.h:9:19: note: in expansion of macro 'CRYPTO_NAMESPACE'
owcpa.c: 9 | #define sample_fg CRYPTO_NAMESPACE(sample_fg)
owcpa.c: | ^~~~~~~~~~~~~~~~
owcpa.c: owcpa.c:79:3: note: in expansion of macro 'sample_fg'
owcpa.c: 79 | sample_fg(f,g,seed);
owcpa.c: | ^~~~~~~~~
owcpa.c: <command-line>: note: referencing argument 3 of type 'const unsigned char[3895]'
owcpa.c: sample.h:9:19: note: in expansion of macro 'CRYPTO_NAMESPACE'
owcpa.c: 9 | #define sample_fg CRYPTO_NAMESPACE(sample_fg)
owcpa.c: | ^~~~~~~~~~~~~~~~
owcpa.c: owcpa.c:79:3: note: in expansion of macro 'sample_fg'
owcpa.c: 79 | sample_fg(f,g,seed);
owcpa.c: | ^~~~~~~~~
owcpa.c: <command-line>: note: in a call to function 'crypto_kem_ntruhps4096821_ref_timingleaks_sample_fg'
owcpa.c: sample.h:9:19: note: in expansion of macro 'CRYPTO_NAMESPACE'
owcpa.c: 9 | #define sample_fg CRYPTO_NAMESPACE(sample_fg)
owcpa.c: ...
pack3.c: pack3.c:3:36: warning: argument 1 of type 'unsigned char[328]' with mismatched bound [-Warray-parameter=]
pack3.c: 3 | void poly_S3_tobytes(unsigned char msg[NTRU_OWCPA_MSGBYTES], const poly *a)
pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
pack3.c: In file included from pack3.c:1:
pack3.c: poly.h:32:36: note: previously declared as 'unsigned char[164]'
pack3.c: 32 | void poly_S3_tobytes(unsigned char msg[NTRU_PACK_TRINARY_BYTES], const poly *a);
pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pack3.c: pack3.c:19:53: warning: argument 2 of type 'const unsigned char[328]' with mismatched bound [-Warray-parameter=]
pack3.c: 19 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_OWCPA_MSGBYTES])
pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
pack3.c: poly.h:33:53: note: previously declared as 'const unsigned char[164]'
pack3.c: 33 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_PACK_TRINARY_BYTES]);
pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
TIMECOP error (can be valgrind bug)
error 127
timeout: failed to run command 'valgrind': No such file or directory
Number of similar (implementation,compiler) pairs: 18, namely:
| Implementation | Compiler |
| compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Clang_20.1.8) |
| ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |
| ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.1_20250207) |