Test results for amd64, tripwire, crypto_aead/hs1sivhiv2
[Page version: 20261005 15:57:56]
Measurements for amd64, tripwire, crypto_aead
Test results for amd64, tripwire, crypto_aead
Test results for crypto_aead/hs1sivhiv2
Computer: tripwire
Microarchitecture: amd64; Zen 5 (b00f21)
Architecture: amd64
CPU ID: AuthenticAMD-00b00f21-178bfbff
SUPERCOP version: 20261004
Operation: crypto_aead
Primitive: hs1sivhiv2
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 8457 | 15282 0 0 | 46150 1224 1720 | T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
| 11090 | 8820 0 0 | 37810 1208 1688 | T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
| 11102 | 9731 0 0 | 41407 1232 1784 | T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
| 11106 | 12624 0 0 | 48775 1232 1784 | T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
| 11434 | 9406 0 0 | 40254 1224 1720 | T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
| 15270 | 12986 0 0 | 43838 1224 1720 | T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
| 54852 | 6038 0 0 | 37031 1232 1720 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20261004 | 20260831 |
Test failure
error 111
crypto_aead_decrypt allows trivial forgeries
Number of similar (implementation,compiler) pairs: 9, namely:
| Implementation | Compiler |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: encrypt.c:85:9: warning: "_bswap64" redefined
encrypt.c: 85 | #define _bswap64(a) __builtin_bswap64(a)
encrypt.c: | ^~~~~~~~
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/x86gprintrin.h:33,
encrypt.c: from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:27,
encrypt.c: from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/ia32intrin.h:273:9: note: this is the location of the previous definition
encrypt.c: 273 | #define _bswap64(a) __bswapq(a)
encrypt.c: | ^~~~~~~~
encrypt.c: encrypt.c:86:9: warning: "_bswap" redefined
encrypt.c: 86 | #define _bswap(a) __builtin_bswap(a)
encrypt.c: | ^~~~~~
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/ia32intrin.h:307:9: note: this is the location of the previous definition
encrypt.c: 307 | #define _bswap(a) __bswapd(a)
encrypt.c: | ^~~~~~
encrypt.c: In file included from encrypt.c:235:
encrypt.c: u16.h: In function 'chacha_xor':
encrypt.c: u16.h:191:13: warning: unused variable 'gvv' [-Wunused-variable]
encrypt.c: 191 | __m512i gvv = _mm512_set_epi64(776,768,520,512,264,256,8,0);
encrypt.c: | ^~~
encrypt.c: u16.h:159:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 159 | __m512i t_15;
encrypt.c: | ^~~~
encrypt.c: u16.h:158:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 158 | __m512i t_14;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: encrypt.c:85:9: warning: "_bswap64" redefined
encrypt.c: 85 | #define _bswap64(a) __builtin_bswap64(a)
encrypt.c: | ^~~~~~~~
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/x86gprintrin.h:33,
encrypt.c: from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:27,
encrypt.c: from encrypt.c:54:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/ia32intrin.h:273:9: note: this is the location of the previous definition
encrypt.c: 273 | #define _bswap64(a) __bswapq(a)
encrypt.c: | ^~~~~~~~
encrypt.c: encrypt.c:86:9: warning: "_bswap" redefined
encrypt.c: 86 | #define _bswap(a) __builtin_bswap(a)
encrypt.c: | ^~~~~~
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/ia32intrin.h:307:9: note: this is the location of the previous definition
encrypt.c: 307 | #define _bswap(a) __bswapd(a)
encrypt.c: | ^~~~~~
encrypt.c: In file included from encrypt.c:195:
encrypt.c: c368.h: In function 'chacha_noxor368':
encrypt.c: c368.h:158:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c: 158 | __m512i t_15;
encrypt.c: | ^~~~
encrypt.c: c368.h:157:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c: 157 | __m512i t_14;
encrypt.c: | ^~~~
encrypt.c: c368.h:156:11: warning: unused variable 't_13' [-Wunused-variable]
encrypt.c: 156 | __m512i t_13;
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-avx512 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: In file included from encrypt.c:192:
encrypt.c: c256.h: In function 'chacha_noxor368':
encrypt.c: c256.h:110:27: warning: unused variable 't3' [-Wunused-variable]
encrypt.c: 110 | __m128i t0, t1, t2, t3; \
encrypt.c: | ^~
encrypt.c: c256.h:129:26: note: in expansion of macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: 129 | #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:131:5: note: in expansion of macro 'ONEQUAD'
encrypt.c: 131 | ONEQUAD(0,1,2,3);
encrypt.c: | ^~~~~~~
encrypt.c: c256.h:110:23: warning: unused variable 't2' [-Wunused-variable]
encrypt.c: 110 | __m128i t0, t1, t2, t3; \
encrypt.c: | ^~
encrypt.c: c256.h:129:26: note: in expansion of macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: 129 | #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:131:5: note: in expansion of macro 'ONEQUAD'
encrypt.c: 131 | ONEQUAD(0,1,2,3);
encrypt.c: | ^~~~~~~
encrypt.c: c256.h:110:19: warning: unused variable 't1' [-Wunused-variable]
encrypt.c: 110 | __m128i t0, t1, t2, t3; \
encrypt.c: | ^~
encrypt.c: c256.h:129:26: note: in expansion of macro 'ONEQUAD_TRANSPOSE_NOXOR'
encrypt.c: 129 | #define ONEQUAD(a,b,c,d) ONEQUAD_TRANSPOSE_NOXOR(a,b,c,d)
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:dolbeau/amd64-sse | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
hs1.c: In function 'xor_copy_chacha_key',
hs1.c: inlined from 'hs1_gen_siv' at hs1.c:973:5:
hs1.c: hs1.c:890:30: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 890 | ((uint64_t *)dst)[2] ^= ((uint64_t *)src)[2];
hs1.c: | ~~~~~~~~~~~~~~~~~^~~
hs1.c: hs1.c: In function 'hs1_gen_siv':
hs1.c: hs1.c:936:50: note: 'chacha_state' declared here
hs1.c: 936 | __attribute__ ((aligned(32))) chacha_state_t chacha_state;
hs1.c: | ^~~~~~~~~~~~
hs1.c: In function 'xor_copy_chacha_key',
hs1.c: inlined from 'hs1siv_decrypt' at hs1.c:1023:5:
hs1.c: hs1.c:890:30: warning: 'chacha_state' may be used uninitialized [-Wmaybe-uninitialized]
hs1.c: 890 | ((uint64_t *)dst)[2] ^= ((uint64_t *)src)[2];
hs1.c: | ~~~~~~~~~~~~~~~~~^~~
hs1.c: hs1.c: In function 'hs1siv_decrypt':
hs1.c: hs1.c:1011:50: note: 'chacha_state' declared here
hs1.c: 1011 | __attribute__ ((aligned(32))) chacha_state_t chacha_state;
hs1.c: | ^~~~~~~~~~~~
hs1.c: In function 'xor_copy_chacha_key',
hs1.c: inlined from 'hs1' at hs1.c:1062:5:
hs1.c: hs1.c:890:30: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c: 890 | ((uint64_t *)dst)[2] ^= ((uint64_t *)src)[2];
hs1.c: | ~~~~~~~~~~~~~~~~~^~~
hs1.c: hs1.c: In function 'hs1':
hs1.c: hs1.c:1053:50: note: 'chacha_state' declared here
hs1.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
chacha_moon.o _chacha_blocks T
chacha_moon.o chacha_blocks T
hs1.o hash_finalize T
hs1.o hash_step T
hs1.o hs1 T
hs1.o hs1_bzero T
hs1.o hs1_gen_siv T
hs1.o hs1_memcpy T
hs1.o hs1_setup T
hs1.o hs1siv_decrypt T
hs1.o hs1siv_encrypt T
hs1.o poly_finalize T
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
encrypt.o chacha T
encrypt.o chacha_ivsetup T
encrypt.o chacha_keysetup T
encrypt.o hs1 T
encrypt.o hs1_hash T
encrypt.o hs1siv_chacha256 T
encrypt.o hs1siv_decrypt T
encrypt.o hs1siv_encrypt T
encrypt.o hs1siv_subkeygen T
encrypt.o prf_hash2 T
Number of similar (implementation,compiler) pairs: 1, namely:
| Implementation | Compiler |
| T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |