Test results for amd64, prodesk, crypto_aead/colm127v1

[Page version: 20241023 21:24:53]

Measurements for amd64, prodesk, crypto_aead Test results for amd64, prodesk, crypto_aead Test results for crypto_aead/colm127v1
Computer: prodesk
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: colm127v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
30828811940 0 48829308 856 1360T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091420240909
30967612468 0 48829556 856 1360T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091420240909
31158814555 0 48830964 856 1344T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091420240909
3383524468 0 48819106 848 1408T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091420240909
3495446182 0 48820100 856 1344T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024091420240909

Checksum failure


7364d92c6fade8518705308c3ef01d720c57bd5d863280d8adca1ade9d06f7f7

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
T:aesni4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:aesni4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:aesni4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:aesni4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)

Compiler output


encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:23:13: warning: unused function 'printblock' [-Wunused-function]
encrypt-colm127-optpar4.c: static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-colm127-optpar4.c:             ^
encrypt-colm127-optpar4.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:aesni4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:aesni4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)

Compiler output


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 (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesni4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)

Compiler output


encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:23:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt-colm127-optpar4.c:    23 | static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-colm127-optpar4.c:       |             ^~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c: In function 'crypto_aead_colm127v1_aesni4_timingleaks_decrypt':
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:633:31: warning: 'Ltag' may be used uninitialized [-Wmaybe-uninitialized]
encrypt-colm127-optpar4.c:   633 |                         block = AES_encrypt(Wtag, expkey) ^ Ltag;
encrypt-colm127-optpar4.c:       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:548:36: note: 'Ltag' was declared here
encrypt-colm127-optpar4.c:   548 |         __m128i block, Lup, Ldown, Ltag, Lnext;
encrypt-colm127-optpar4.c:       |                                    ^~~~
encrypt-colm127-optpar4.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:37,
encrypt-colm127-optpar4.c:                  from encrypt-colm127-optpar4.c:15:
encrypt-colm127-optpar4.c: In function '_mm_shuffle_epi8',
encrypt-colm127-optpar4.c:     inlined from 'byte_swap' at encrypt-colm127-optpar4.c:47:9,
encrypt-colm127-optpar4.c:     inlined from 'AES_encrypt' at encrypt-colm127-optpar4.c:93:16,
encrypt-colm127-optpar4.c:     inlined from 'crypto_aead_colm127v1_aesni4_timingleaks_decrypt' at encrypt-colm127-optpar4.c:633:12:
encrypt-colm127-optpar4.c: /usr/lib/gcc/x86_64-linux-gnu/12/include/tmmintrin.h:138:20: warning: 'Wtag' may be used uninitialized [-Wmaybe-uninitialized]
encrypt-colm127-optpar4.c:   138 |   return (__m128i) __builtin_ia32_pshufb128 ((__v16qi)__X, (__v16qi)__Y);
encrypt-colm127-optpar4.c:       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c: In function 'crypto_aead_colm127v1_aesni4_timingleaks_decrypt':
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:547:26: note: 'Wtag' was declared here
encrypt-colm127-optpar4.c:   547 |         __m128i W, Wtmp, Wtag;
encrypt-colm127-optpar4.c:       |                          ^~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesni4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)

Compiler output


encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:23:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt-colm127-optpar4.c:    23 | static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-colm127-optpar4.c:       |             ^~~~~~~~~~
encrypt-colm127-optpar4.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:37,
encrypt-colm127-optpar4.c:                  from encrypt-colm127-optpar4.c:15:
encrypt-colm127-optpar4.c: In function '_mm_shuffle_epi8',
encrypt-colm127-optpar4.c:     inlined from 'byte_swap' at encrypt-colm127-optpar4.c:47:9,
encrypt-colm127-optpar4.c:     inlined from 'AES_encrypt' at encrypt-colm127-optpar4.c:93:16,
encrypt-colm127-optpar4.c:     inlined from 'crypto_aead_colm127v1_aesni4_timingleaks_decrypt' at encrypt-colm127-optpar4.c:633:12:
encrypt-colm127-optpar4.c: /usr/lib/gcc/x86_64-linux-gnu/12/include/tmmintrin.h:138:20: warning: 'Wtag' may be used uninitialized [-Wmaybe-uninitialized]
encrypt-colm127-optpar4.c:   138 |   return (__m128i) __builtin_ia32_pshufb128 ((__v16qi)__X, (__v16qi)__Y);
encrypt-colm127-optpar4.c:       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c: In function 'crypto_aead_colm127v1_aesni4_timingleaks_decrypt':
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:547:26: note: 'Wtag' was declared here
encrypt-colm127-optpar4.c:   547 |         __m128i W, Wtmp, Wtag;
encrypt-colm127-optpar4.c:       |                          ^~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:aesni4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)

Compiler output


encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:23:13: warning: 'printblock' defined but not used [-Wunused-function]
encrypt-colm127-optpar4.c:    23 | static void printblock(const char* caption, unsigned char* block, unsigned char nbytes, int reg)
encrypt-colm127-optpar4.c:       |             ^~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c: In function 'crypto_aead_colm127v1_aesni4_timingleaks_decrypt':
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:633:31: warning: 'Ltag' may be used uninitialized [-Wmaybe-uninitialized]
encrypt-colm127-optpar4.c:   633 |                         block = AES_encrypt(Wtag, expkey) ^ Ltag;
encrypt-colm127-optpar4.c:       |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:548:36: note: 'Ltag' was declared here
encrypt-colm127-optpar4.c:   548 |         __m128i block, Lup, Ldown, Ltag, Lnext;
encrypt-colm127-optpar4.c:       |                                    ^~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:633:33: warning: 'Wtag' may be used uninitialized [-Wmaybe-uninitialized]
encrypt-colm127-optpar4.c:   633 |                         block = AES_encrypt(Wtag, expkey) ^ Ltag;
encrypt-colm127-optpar4.c:       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
encrypt-colm127-optpar4.c: encrypt-colm127-optpar4.c:547:26: note: 'Wtag' was declared here
encrypt-colm127-optpar4.c:   547 |         __m128i W, Wtmp, Wtag;
encrypt-colm127-optpar4.c:       |                          ^~~~

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:aesni4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:aesni4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)

Compiler output


encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./module.h:69:3: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations]
encrypt.c:                 AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c:                 ^
encrypt.c: /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here
encrypt.c: OSSL_DEPRECATEDIN_3_0
encrypt.c: ^
encrypt.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
encrypt.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
encrypt.c:                                                 ^
encrypt.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
encrypt.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
encrypt.c:                                                    ^
encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./module.h:70:3: warning: 'AES_set_decrypt_key' is deprecated [-Wdeprecated-declarations]
encrypt.c:                 AES_set_decrypt_key(key, 128, &aes_key2);
encrypt.c:                 ^
encrypt.c: /usr/include/openssl/aes.h:53:1: note: 'AES_set_decrypt_key' has been explicitly marked deprecated here
encrypt.c: OSSL_DEPRECATEDIN_3_0
encrypt.c: ^
encrypt.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
encrypt.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
encrypt.c:                                                 ^
encrypt.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
encrypt.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)

Compiler output


encrypt.c: In file included from encrypt.c:10:
encrypt.c: module.h: In function 'key_schedule':
encrypt.c: module.h:69:17: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    69 |                 AES_set_encrypt_key(key, 128, &aes_key1);
encrypt.c:       |                 ^~~~~~~~~~~~~~~~~~~
encrypt.c: In file included from encrypt.c:7:
encrypt.c: /usr/include/openssl/aes.h:51:5: note: declared here
encrypt.c:    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
encrypt.c:       |     ^~~~~~~~~~~~~~~~~~~
encrypt.c: module.h:70:17: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    70 |                 AES_set_decrypt_key(key, 128, &aes_key2);
encrypt.c:       |                 ^~~~~~~~~~~~~~~~~~~
encrypt.c: /usr/include/openssl/aes.h:54:5: note: declared here
encrypt.c:    54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
encrypt.c:       |     ^~~~~~~~~~~~~~~~~~~
encrypt.c: module.h: In function 'AES':
encrypt.c: module.h:75:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    75 |                 AES_encrypt(inp, res, key);
encrypt.c:       |                 ^~~~~~~~~~~
encrypt.c: /usr/include/openssl/aes.h:57:6: note: declared here
encrypt.c:    57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
encrypt.c:       |      ^~~~~~~~~~~
encrypt.c: module.h:77:17: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
encrypt.c:    77 |                 AES_decrypt(inp, res, key);
encrypt.c:       |                 ^~~~~~~~~~~
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)

Namespace violations


encrypt.o aes_key1 B
encrypt.o aes_key2 B
encrypt.o is_equal_block T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)