Implementation notes: amd64, intelnuci7, crypto_aead/twine80n6clocv1

Computer: intelnuci7
Architecture: amd64
CPU ID: GenuineIntel-000806e9-bfebfbff
SUPERCOP version: 20211108
Operation: crypto_aead
Primitive: twine80n6clocv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
6123227414 0 024256 784 1168T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
6123607414 0 024256 784 1168T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
6127507991 0 024848 784 1168T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
6196746988 0 021332 776 1216T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
6221987761 0 025501 784 1216T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
6316207543 0 023504 784 1152T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
6465586902 0 021237 784 1216T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108
9570026038 0 019038 776 1152T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021111020211108
14053986025 0 019208 760 1184T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021111020211108

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
cloc.c: cloc.c:64:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring associated data:", state);
cloc.c: ^
cloc.c: cloc.c:72:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After processing last partial associated data block:", state);
cloc.c: ^
cloc.c: cloc.c:93:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying f1/f2 to state:", state);
cloc.c: ^
cloc.c: cloc.c:133:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring message block:", es);
cloc.c: ^
cloc.c: cloc.c:138:4: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:145:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After applying fix1:", es);
cloc.c: ^
cloc.c: cloc.c:154:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial message block:", es);
cloc.c: ^
cloc.c: cloc.c:159:3: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring last partial ciphertext block:", es);
cloc.c: ^
cloc.c: cloc.c:163:2: warning: implicit declaration of function 'pstate2' is invalid in C99 [-Wimplicit-function-declaration]
cloc.c: ...

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
cloc.c: cloc.c: In function 'process_ad':
cloc.c: cloc.c:64:3: warning: implicit declaration of function 'pstate2'; did you mean 'pstate'? [-Wimplicit-function-declaration]
cloc.c: pstate2("After xoring associated data:", state);
cloc.c: ^~~~~~~
cloc.c: pstate

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
cloc.o ae_encrypt T
cloc.o ae_init T
cloc.o process_ad T
twine.o CON_H R
twine.o CON_L R
twine.o Decode T
twine.o Encode T
twine.o Keyschedule T
twine.o Keyschedule128 T
twine.o Keyschedule80 T
twine.o S R
twine.o ek C
utils.o ae_allocate T
utils.o print_cxt 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