Implementation notes: amd64, hertz, crypto_aead/drygascon128k16

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: drygascon128k16
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2491528111 0 029327 836 1096T:le32clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
2496367977 0 029071 836 1096T:le32clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
32189213695 0 031211 828 1160T:le32gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38396214006 392 3235638 1228 1128T:opt_arm_cortex-mclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38499514047 392 3235782 1228 1128T:opt_arm_cortex-mclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3851519548 392 3225016 1220 1128T:opt_arm_cortex-mclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38772819636 536 3237500 1356 1192T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4054457905 536 3222103 1332 1096T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4203049950 536 3225804 1356 1128T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
5747244664 0 025807 836 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
5808084467 0 025711 836 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
7365894792 0 020228 820 1096T:le32gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
8888463474 0 017263 796 1064T:le32gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
11493525797 0 023339 828 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
14647993404 0 018440 828 1096T:le32clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
15629493966 0 019420 820 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
18240613268 0 018312 828 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
18343543250 0 017047 796 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


drygascon.c: drygascon.c: In function 'drygascon128_aead_encrypt_core':
drygascon.c: drygascon.c:185:13: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
drygascon.c:   185 |         if(!drysponge128_safe_alignement(&state)){
drygascon.c:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drygascon.c: In file included from drygascon.c:24:
drygascon.c: internal-drysponge.h:349:5: note: by argument 1 of type 'const drysponge128_state_t *' to 'drysponge128_safe_alignement' declared here
drygascon.c:   349 | int drysponge128_safe_alignement(const drysponge128_state_t*state);
drygascon.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drygascon.c: drygascon.c:181:26: note: 'state' declared here
drygascon.c:   181 |     drysponge128_state_t state;
drygascon.c:       |                          ^~~~~
drygascon.c: drygascon.c: In function 'drygascon128_aead_decrypt_core':
drygascon.c: drygascon.c:262:9: warning: 'state' may be used uninitialized [-Wmaybe-uninitialized]
drygascon.c:   262 |     if(!drysponge128_safe_alignement(&state)){
drygascon.c:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drygascon.c: internal-drysponge.h:349:5: note: by argument 1 of type 'const drysponge128_state_t *' to 'drysponge128_safe_alignement' declared here
drygascon.c:   349 | int drysponge128_safe_alignement(const drysponge128_state_t*state);
drygascon.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drygascon.c: drygascon.c:257:26: note: 'state' declared here
drygascon.c:   257 |     drysponge128_state_t state;
drygascon.c:       |                          ^~~~~

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

Namespace violations


aead-common.o aead_check_tag T
aead-common.o aead_check_tag_precheck T
drygascon.o drygascon128_aead_decrypt_core T
drygascon.o drygascon128_aead_encrypt_core T
drygascon.o drygascon128_cipher D
drygascon.o drygascon128_hash T
drygascon.o drygascon128_hash_algorithm D
drygascon.o drygascon128k16_aead_decrypt T
drygascon.o drygascon128k16_aead_encrypt T
drygascon.o drygascon128k16_cipher D
drygascon.o drygascon128k16_expected D
drygascon.o drygascon128k32_aead_decrypt T
drygascon.o drygascon128k32_aead_encrypt T
drygascon.o drygascon128k32_cipher D
drygascon.o drygascon128k32_expected D
drygascon.o drygascon128k56_aead_decrypt T
drygascon.o drygascon128k56_aead_encrypt T
drygascon.o drygascon128k56_cipher D
drygascon.o drygascon128k56_expected D
drygascon.o drygascon256_aead_decrypt T
drygascon.o drygascon256_aead_encrypt T
drygascon.o drygascon256_cipher D
drygascon.o drygascon256_expected B
drygascon.o drygascon256_hash T
drygascon.o drygascon256_hash_algorithm D
internal-drysponge.o drygascon128_f_impl T
internal-drysponge.o drygascon128_f_wrap T
internal-drysponge.o drysponge128_g T
internal-drysponge.o drysponge128_g_core T
internal-drysponge.o drysponge128_safe_alignement T
internal-drysponge.o drysponge128_setup T
internal-drysponge.o drysponge256_f_absorb T
internal-drysponge.o drysponge256_g T
internal-drysponge.o drysponge256_g_core T
internal-drysponge.o drysponge256_setup T
internal-drysponge.o gascon128_core_round T
internal-drysponge.o gascon256_core_round T

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