Implementation notes: amd64, hertz, crypto_aead/drygascon128k32

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: drygascon128k32
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2491507324 0 028415 836 1096T:le32clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
2498577395 0 028599 836 1096T:le32clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
32142912623 0 030059 828 1160T:le32gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38421514006 392 3235638 1228 1128T:opt_arm_cortex-mclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38429314047 392 3235782 1228 1128T:opt_arm_cortex-mclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
3855309548 392 3225016 1220 1128T:opt_arm_cortex-mclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
38828519636 536 3237420 1356 1192T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4083527905 536 3222015 1332 1096T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
4190209950 536 3225724 1356 1128T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
5727994688 0 025831 836 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
5840334447 0 025695 836 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
6754364568 0 019916 820 1096T:le32gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
8938563337 0 017039 796 1064T:le32gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
11319975677 0 023139 828 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
14496053274 0 018312 828 1096T:le32clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
16114303806 0 019180 820 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
18161183097 0 018152 828 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
18359423119 0 016823 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)