Implementation notes: amd64, hiphop, crypto_aead/giftcofb128v1

Computer: hiphop
Microarchitecture: amd64; HW+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20221122
Operation: crypto_aead
Primitive: giftcofb128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
26073110413 0 025120 796 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
2640879431 0 022956 780 1040T:aadomn/opt32gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
26659114381 0 032297 804 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
27041610867 0 025520 796 1072T:aadomn/opt32gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
18721223310 0 016522 796 1008T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
216088712849 0 030785 804 1072T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
34740417950 0 025132 804 1040T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
34742907950 0 025132 804 1040T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
34744637950 0 025148 804 1040T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114
38885093430 0 018160 796 1072T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
39180772782 0 016364 780 1040T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
41144563344 0 018008 796 1072T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011420210114
49432457575 0 023876 804 1008T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011420210114

Compiler output

Implementation: T:aadomn/opt32
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
giftb128.c: giftb128.c:52:17: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i] = REARRANGE_RKEY_0(rkey[i]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:53:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 1] = REARRANGE_RKEY_0(rkey[i + 1]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:54:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 2] = REARRANGE_RKEY_1(rkey[i + 2]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:55:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 3] = REARRANGE_RKEY_1(rkey[i + 3]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:56:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 4] = REARRANGE_RKEY_2(rkey[i + 4]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:57:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 5] = REARRANGE_RKEY_2(rkey[i + 5]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:58:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 6] = REARRANGE_RKEY_3(rkey[i + 6]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: giftb128.c:59:21: error: assigning to 'u32' (aka 'unsigned int') from incompatible type 'void'
giftb128.c: rkey[i + 7] = REARRANGE_RKEY_3(rkey[i + 7]);
giftb128.c: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
giftb128.c: 8 errors generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aadomn/opt32

Namespace violations

Implementation: T:aadomn/opt32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.o giftcofb_crypt T
giftb128.o giftb128 T
giftb128.o precompute_rkeys T
giftb128.o rconst R

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

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o cofb_decrypt T
encrypt.o cofb_encrypt T
gift128.o GIFT_RC R
gift128.o giftb128 T
gift128.o rowperm 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