Implementation notes: amd64, kizomba, crypto_aead/hanmre

Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-1fc9cbf5
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: hanmre
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3478955335 0 022652 824 872T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
3525665335 0 022948 824 920T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
3540003931 0 018182 816 920T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
3661234708 0 020756 824 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
4700503853 0 018574 784 928T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
4779863810 0 017356 824 856T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6457663788 0 018061 776 928T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6967113422 0 016433 760 896T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

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)