Implementation notes: amd64, rumba7, crypto_aead/hanmre

Computer: rumba7
Microarchitecture: amd64; Zen (800f11)
Architecture: amd64
CPU ID: AuthenticAMD-00800f11-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: hanmre
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3404104385 0 021403 852 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3414654385 0 021779 852 1056T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3479744708 0 021211 852 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4036383930 0 018549 844 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4624773957 0 019381 812 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4977273810 0 017811 852 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
6152353788 0 018564 804 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
6700543423 0 016936 788 1056T: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: 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:93:23: note: 'state' declared here
hanmre.c:    93 |         unsigned char state[HANMRE_STATE_SZ];
hanmre.c:       |                       ^~~~~

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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: 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: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: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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: 8, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)