Test results for amd64, hertz, crypto_aead/hs1sivlov2

[Page version: 20241028 01:32:29]

Measurements for amd64, hertz, crypto_aead Test results for amd64, hertz, crypto_aead Test results for crypto_aead/hs1sivlov2
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: hs1sivlov2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
40638064 0 027416 796 1064T:fastercc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
424014859 0 039742 844 1096T:fasterclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
426814811 0 039742 844 1096T:fasterclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
51408058 0 029136 836 1096T:dolbeau/amd64-sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
517010430 0 035214 844 1096T:dolbeau/amd64-sseclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
127907913 0 032814 844 1096T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
129757529 0 032462 844 1096T:refclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022
187513383 0 024664 836 1096T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024102420241022

Checksum failure


c422ef7bb1cf281e8edeea6eb53ea49e2a2df942cf721efaca6f3d089d301186

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:dolbeau/amd64-ssecc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Test failure


error 111
crypto_aead_decrypt allows trivial forgeries

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:dolbeau/amd64-ssecc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Test failure


error 111

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:dolbeau/amd64-sseclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:fasterclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

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:194:
encrypt.c: c128.h: In function 'chacha_noxor128':
encrypt.c: c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c:       |           ^~~~
encrypt.c: c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    70 |   __m128i t_14;
encrypt.c:       |           ^~~~
encrypt.c: c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c:    63 |   __m128i t_7;
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:dolbeau/amd64-avx2cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/amd64-avx2cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/amd64-avx512cc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/amd64-avx512cc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


encrypt.c: In file included from encrypt.c:194:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c:    62 |   __m128i t_6;
encrypt.c:       |           ^~~
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c:    63 |   __m128i t_7;
encrypt.c:       |           ^~~
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    70 |   __m128i t_14;
encrypt.c:       |           ^~~~
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c:       |           ^~~~
encrypt.c: In file included from encrypt.c:234:
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:144:11: warning: unused variable 't_0' [-Wunused-variable]
encrypt.c:   144 |   __m512i t_0;
encrypt.c:       |           ^~~
encrypt.c: ./u16.h:145:11: warning: unused variable 't_1' [-Wunused-variable]
encrypt.c:   145 |   __m512i t_1;
encrypt.c:       |           ^~~
encrypt.c: ./u16.h:146:11: warning: unused variable 't_2' [-Wunused-variable]
encrypt.c:   146 |   __m512i t_2;
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 6, namely:
ImplementationCompiler
T:dolbeau/amd64-avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-avx2clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-avx512clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-avx512clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-avx512clang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: c128.h: In function 'chacha_noxor128':
encrypt.c: c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c:       |           ^~~~
encrypt.c: c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    70 |   __m128i t_14;
encrypt.c:       |           ^~~~
encrypt.c: c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c:    63 |   __m128i t_7;
encrypt.c:       |           ^~~
encrypt.c: c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c:    62 |   __m128i t_6;
encrypt.c:       |           ^~~
encrypt.c: encrypt.c: In function 'hs1_data':
encrypt.c: encrypt.c:502:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   502 |   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:       |                  ^~~~
encrypt.c: encrypt.c:502:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   502 |   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:       |            ^~~~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:dolbeau/amd64-ssecc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:dolbeau/amd64-ssecc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


encrypt.c: In file included from encrypt.c:190:
encrypt.c: ./c128.h:62:11: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c:    62 |   __m128i t_6;
encrypt.c:       |           ^~~
encrypt.c: ./c128.h:63:11: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c:    63 |   __m128i t_7;
encrypt.c:       |           ^~~
encrypt.c: ./c128.h:70:11: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    70 |   __m128i t_14;
encrypt.c:       |           ^~~~
encrypt.c: ./c128.h:71:11: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    71 |   __m128i t_15;
encrypt.c:       |           ^~~~
encrypt.c: encrypt.c:502:12: warning: variable 'atot' set but not used [-Wunused-but-set-variable]
encrypt.c:   502 |   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:       |            ^
encrypt.c: encrypt.c:502:18: warning: variable 'mtot' set but not used [-Wunused-but-set-variable]
encrypt.c:   502 |   unsigned atot, mtot, arnd64, mrnd64;
encrypt.c:       |                  ^
encrypt.c: 6 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:dolbeau/amd64-sseclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-sseclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:dolbeau/amd64-sseclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Compiler output


hs1.c: In function 'xor16',
hs1.c:     inlined from 'xor_copy_chacha_key' at hs1.c:886:9,
hs1.c:     inlined from 'hs1_gen_siv' at hs1.c:973:5:
hs1.c: hs1.c:58:46: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c:    58 | static void xor16 (void *d, const void *s) { *(T *)d ^= *(T *)s; }
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 'xor16',
hs1.c:     inlined from 'xor_copy_chacha_key' at hs1.c:886:9,
hs1.c:     inlined from 'hs1siv_decrypt' at hs1.c:1023:5:
hs1.c: hs1.c:58:46: warning: 'chacha_state' may be used uninitialized [-Wmaybe-uninitialized]
hs1.c:    58 | static void xor16 (void *d, const void *s) { *(T *)d ^= *(T *)s; }
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 'xor16',
hs1.c:     inlined from 'xor_copy_chacha_key' at hs1.c:886:9,
hs1.c:     inlined from 'hs1' at hs1.c:1062:5:
hs1.c: hs1.c:58:46: warning: 'chacha_state' is used uninitialized [-Wuninitialized]
hs1.c:    58 | static void xor16 (void *d, const void *s) { *(T *)d ^= *(T *)s; }
hs1.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:fastercc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


encrypt.c: encrypt.c: In function 'hs1_hash':
encrypt.c: encrypt.c:326:14: warning: unused variable 'k' [-Wunused-variable]
encrypt.c:   326 |     unsigned k = (HS1_SIV_HASH_RNDS > 4 ? 1 : 2);
encrypt.c:       |              ^

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:refcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:refcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


encrypt.c: encrypt.c:326:14: warning: unused variable 'k' [-Wunused-variable]
encrypt.c:   326 |     unsigned k = (HS1_SIV_HASH_RNDS > 4 ? 1 : 2);
encrypt.c:       |              ^
encrypt.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

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: 3, namely:
ImplementationCompiler
T:fastercc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:fasterclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:fasterclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

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: 3, namely:
ImplementationCompiler
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
T:refclang -mllvm -polly -mllvm -polly-vectorizer=stripmine -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))