Implementation notes: amd64, gcc123, crypto_aead/aes128marble4rv1

Computer: gcc123
Architecture: amd64
CPU ID: GenuineIntel-000206d7-bfebfbff
SUPERCOP version: 20220213
Operation: crypto_aead
Primitive: aes128marble4rv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
29287434222 0 051425 828 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
29631334250 0 053697 828 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
29940931859 0 049609 828 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
29978631859 0 049609 828 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
30209826943 0 041822 844 1040T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
30663045559 0 061886 844 1040T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
32609925263 0 038717 820 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
33604426532 0 040503 820 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
36176427010 0 041758 844 1040T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: encrypt.c:34:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: free(cxt);
encrypt.c: ^
encrypt.c: encrypt.c:67:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: free(cxt);
encrypt.c: ^
encrypt.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -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
encrypt.c: encrypt.c: In function 'crypto_aead_aes128marble4rv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:34:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
encrypt.c: free(cxt);
encrypt.c: ^~~~
encrypt.c: encrypt.c:34:2: warning: incompatible implicit declaration of built-in function 'free'
encrypt.c: encrypt.c:34:2: note: include '<stdlib.h>' or provide a declaration of 'free'
encrypt.c: encrypt.c:5:1:
encrypt.c: +#include <stdlib.h>
encrypt.c:
encrypt.c: encrypt.c:34:2:
encrypt.c: free(cxt);
encrypt.c: ^~~~
encrypt.c: encrypt.c: In function 'crypto_aead_aes128marble4rv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:67:2: warning: incompatible implicit declaration of built-in function 'free'
encrypt.c: free(cxt);
encrypt.c: ^~~~
encrypt.c: encrypt.c:67:2: note: include '<stdlib.h>' or provide a declaration of 'free'

Number of similar (compiler,implementation) pairs: 4, 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 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_core.o AES_decrypt T
aes_core.o AES_decrypt_4round T
aes_core.o AES_encrypt T
aes_core.o AES_encrypt_4round T
aes_core.o AES_set_4round_decrypt_key T
aes_core.o AES_set_decrypt_key T
aes_core.o AES_set_encrypt_key T
aes_core.o print_state T
marble.o Dec T
marble.o Division2 T
marble.o Enc T
marble.o Time2 T
marble.o Time3 T
marble.o Time7 T
marble.o Trans T
marble.o XLS T
marble.o ae_decrypt T
marble.o ae_encrypt T
marble.o ae_init T
marble.o invTrans T
marble.o invXLS T
marble.o mix T
marble.o process_ad T
marble.o rotate1 T
utils.o ae_allocate T
utils.o pstate T
utils.o pstate2 T
utils.o xor_bytes T
utils.o xor_bytes2 T

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
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 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref