Implementation notes: amd64, titan0, crypto_aead/hanmre

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: hanmre
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3439465335 0 023416 868 1056T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
3457105335 0 023136 868 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
3619713931 0 018562 860 1088T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
3756574708 0 021208 868 1024T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
4763763810 0 017808 868 1024T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
4970603853 0 019013 812 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6368903788 0 018548 804 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
7143203422 0 016920 788 1056T: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)