Implementation notes: amd64, hertz, crypto_encrypt/r5nd1pke5d

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_encrypt
Primitive: r5nd1pke5d
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
15621941333 0 0159922 1004 1832T:avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231217
15662741333 0 0159858 1004 1832T:optgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231217
23003030467 0 0153208 1028 1832T:optclang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231217
23003830467 0 0153208 1028 1832T:avx2clang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231217
23034735250 0 0155616 1028 1832T:optclang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231217
23230835250 0 0155616 1028 1832T:avx2clang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231217
46915325234 0 0147066 1020 1832T:optclang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231217
47515925234 0 0147130 1020 1832T:avx2clang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122020231217
56021225163 0 0146706 1004 1800T:optgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231217
56076125163 0 0146770 1004 1800T:avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231217
77677921395 0 0142818 996 1800T:optgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231217
77718721395 0 0142818 996 1800T:avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122020231217

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: warning: KeccakP-1600-AVX2.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: /usr/bin/ld: warning: KeccakP-1600-AVX2.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
measure.c: /usr/bin/ld: warning: KeccakP-1600-AVX2.o: missing .note.GNU-stack section implies executable stack
measure.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(parameters.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(parameters.o):(.bss+0x40): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_pke.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_pke.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_kem.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_kem.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cpa_pke.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cpa_pke.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_core.o):(.rodata+0x40): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_core.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_fixed.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_fixed.o):(.bss+0x10): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_random.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_random.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: warning: KeccakP-1600-AVX2.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: clang-17: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang-17 -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang-17 -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(parameters.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(parameters.o):(.bss+0x40): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_pke.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_pke.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_kem.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_kem.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cpa_pke.o):(.rodata+0x100): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cpa_pke.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_core.o):(.rodata+0x340): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_core.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_fixed.o):(.rodata+0x100): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_fixed.o):(.bss+0x10): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_random.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_random.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: warning: KeccakP-1600-AVX2.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: clang-17: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang-17 -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(parameters.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(parameters.o):(.rodata+0x60): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_pke.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_pke.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_kem.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cca_kem.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cpa_pke.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_cpa_pke.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_core.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(r5_core.o):(.rodata+0x20): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_fixed.o):(.bss+0x20): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_fixed.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_random.o):(.bss+0x0): multiple definition of `r5_parameter_set_names'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_encrypt_r5nd1pke5d.a(a_random.o):(.rodata+0x0): multiple definition of `r5_parameter_sets'; libcrypto_encrypt_r5nd1pke5d.a(cca_encrypt.o):(.rodata+0x0): first defined here
try.c: /usr/bin/ld: warning: KeccakP-1600-AVX2.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref