Implementation notes: aarch64, pi4b, crypto_aead/drygascon128k32

Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: drygascon128k32
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3565784073 0 018534 848 856T:le32clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
36010113701 392 3228694 1232 888T:opt_arm_cortex-mclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
37315810191 0 023831 832 864T:le32gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
38539017160 392 3231359 1224 904T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
3955169140 392 3222415 1216 880T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
4006687845 392 3219999 1200 872T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
4009858880 392 3222047 1216 880T:opt_arm_cortex-mgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
7724104821 0 019302 848 856T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
8163784335 0 016935 832 848T:le32gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
8242574731 0 017503 832 848T:le32gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
11912007253 0 020895 832 864T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
15244513542 0 019299 816 840T:le32gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
37584803765 0 016383 832 848T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
37770233222 0 014871 816 840T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808
41596114125 0 016895 832 848T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024082120240808

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: 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:257:26: note: 'state' declared here
drygascon.c:   257 |     drysponge128_state_t state;
drygascon.c:       |                          ^~~~~

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