Implementation notes: amd64, hertz, crypto_aead/hanmre

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: hanmre
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2665964648 0 025871 836 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
2697494648 0 025759 836 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
2733983661 0 018664 828 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3586124077 0 019285 812 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4531283467 0 016960 788 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


hanmre.c: hanmre.c: In function 'hanmre_mac':
hanmre.c: hanmre.c:21:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    21 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: In file included from hanmre.c:5:
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:20:23: note: 'state' declared here
hanmre.c:    20 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~
hanmre.c: hanmre.c: In function 'hanmre_rk':
hanmre.c: hanmre.c:94:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    94 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:93:23: note: 'state' declared here
hanmre.c:    93 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~

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

Compiler output


hanmre.c: hanmre.c: In function 'hanmre_mac':
hanmre.c: hanmre.c:21:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    21 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: In file included from hanmre.c:5:
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:20:23: note: 'state' declared here
hanmre.c:    20 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~
hanmre.c: hanmre.c: In function 'hanmre_rk':
hanmre.c: hanmre.c:94:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    94 |         Permutation_Initialize(state);
hanmre.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hanmre.c: permutation.h:4:6: note: by argument 1 of type 'const void *' to 'Permutation_Initialize' declared here
hanmre.c:     4 | void Permutation_Initialize(
hanmre.c:       |      ^~~~~~~~~~~~~~~~~~~~~~
hanmre.c: hanmre.c:93:23: note: 'state' declared here
hanmre.c:    93 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~
hanmre.c: In function 'hanmre_rk',
hanmre.c:     inlined from 'hanmre_enc' at hanmre.c:124:2:
hanmre.c: hanmre.c:94:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
hanmre.c:    94 |         Permutation_Initialize(state);
hanmre.c: ...

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

Namespace violations


Ascon-reference.o Ascon_AddBytes T
Ascon-reference.o Ascon_ExtractBytes T
Ascon-reference.o Ascon_Initialize T
Ascon-reference.o Ascon_OverwriteBytes T
Ascon-reference.o Ascon_Permute_Nrounds T
Ascon-reference.o load64 T
Ascon-reference.o store64 T
hanmre.o HANMRE_IV_1 R
hanmre.o HANMRE_IV_2 R
hanmre.o HANMRE_IV_3 R
hanmre.o hanmre_enc T
hanmre.o hanmre_mac T
hanmre.o hanmre_rk T
permutation.o Permutation_AddBytes T
permutation.o Permutation_ExtractBytes T
permutation.o Permutation_Initialize T
permutation.o Permutation_OverwriteBytes T
permutation.o Permutation_Permute_Nrounds T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)