Implementation notes: amd64, gcc123, crypto_aead/colm127v1

Computer: gcc123
Architecture: amd64
CPU ID: GenuineIntel-000206d7-bfebfbff
SUPERCOP version: 20220213
Operation: crypto_aead
Primitive: colm127v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
21725911853 0 028173 860 1560T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
25076812466 0 031800 844 1528T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
25206710668 0 028320 844 1528T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
25218310668 0 028320 844 1528T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
25223811769 0 028888 844 1496T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
2868544775 0 018726 836 1496T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011520210114
3358065441 0 020228 852 1560T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3602824078 0 017552 836 1560T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114
3903615447 0 020108 852 1560T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011520210114

Checksum failure

Implementation: T:aesni4
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
7364d92c6fade8518705308c3ef01d720c57bd5d863280d8adca1ade9d06f7f7
Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aesni4
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aesni4
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aesni4
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aesni4
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:aesni4
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:aesni4
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:aesni4
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:aesni4

Compiler output

Implementation: T:aesni4
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:293:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-colm127-optpar4.c: AES_ENCRYPT4(block1,block2,block3,block4, expkey);
encrypt-colm127-optpar4.c: ^
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:170:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-colm127-optpar4.c: block1 = _mm_aesenc_si128 (block1,expkey[r]); \
encrypt-colm127-optpar4.c: ^
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:293:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:171:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-colm127-optpar4.c: block2 = _mm_aesenc_si128 (block2,expkey[r]); \
encrypt-colm127-optpar4.c: ^
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:293:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:172:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-colm127-optpar4.c: block3 = _mm_aesenc_si128 (block3,expkey[r]); \
encrypt-colm127-optpar4.c: ^
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:293:3: error: always_inline function '_mm_aesenc_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:173:12: note: expanded from macro 'AES_ENCRYPT4'
encrypt-colm127-optpar4.c: block4 = _mm_aesenc_si128 (block4,expkey[r]); \
encrypt-colm127-optpar4.c: ^
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:293:3: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:175:11: note: expanded from macro 'AES_ENCRYPT4'
encrypt-colm127-optpar4.c: block1 = _mm_aesenclast_si128 (block1,expkey[10]); \
encrypt-colm127-optpar4.c: ^
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:293:3: error: always_inline function '_mm_aesenclast_si128' requires target feature 'aes', but would be inlined into function 'mac' that is compiled without support for 'aes'
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:176:11: note: expanded from macro 'AES_ENCRYPT4'
encrypt-colm127-optpar4.c: block2 = _mm_aesenclast_si128 (block2,expkey[10]); \
encrypt-colm127-optpar4.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:aesni4

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.o aes_key1 C
encrypt.o aes_key2 C
encrypt.o is_equal_block 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