Test results for aarch64, cfarm425, crypto_aead/kiasuneq128v1

[Page version: 20261114 10:40:43]

Measurements for aarch64, cfarm425, crypto_aead Test results for aarch64, cfarm425, crypto_aead Test results for crypto_aead/kiasuneq128v1
Computer: cfarm425
Microarchitecture: aarch64; Neoverse-N1 (413fd0c1)
Architecture: aarch64
CPU ID: 413fd0c1
SUPERCOP version: 20261018
Operation: crypto_aead
Primitive: kiasuneq128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14782320476 0 042508 1200 1544T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
16043718988 0 040028 1200 1544T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
17253718284 0 038204 1184 1528T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
17308419016 0 041749 1240 1528T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
17367319052 0 041821 1240 1544T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
17695318536 0 039511 1232 1528T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
17752019160 0 042653 1240 1544T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
18628119184 0 040356 1200 1536T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026111120261018
18754418908 0 040197 1240 1528T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026111120261018

Compiler output


kiasu.c: kiasu.c:256:13: error: unknown type name 'block'
kiasu.c:   256 |   ALIGN(16) block Auth;                         /* Auth value during the mode */
kiasu.c:       |             ^
kiasu.c: kiasu.c:257:13: error: unknown type name 'block'
kiasu.c:   257 |   ALIGN(16) block Checksum;                     /* Checksum on the plaintext blocks */
kiasu.c:       |             ^
kiasu.c: kiasu.c:258:13: error: unknown type name 'block'
kiasu.c:   258 |   ALIGN(16) block PaddedBlock;          /* Padded blocks if needed, otherwise the zero bock */
kiasu.c:       |             ^
kiasu.c: kiasu.c:259:13: error: unknown type name 'block'
kiasu.c:   259 |   ALIGN(16) block ta[BPI];                      /* 8 blocks for parallel processing */
kiasu.c:       |             ^
kiasu.c: kiasu.c:260:19: error: unknown type name 'block'
kiasu.c:   260 |   ALIGN(16) const block* adp;           /* Pointer to the blocks to process */
kiasu.c:       |                   ^
kiasu.c: kiasu.c:262:13: error: unknown type name '__m128i'
kiasu.c:   262 |   ALIGN(16) __m128i tmpblock;
kiasu.c:       |             ^
kiasu.c: kiasu.c:271:10: error: use of undeclared identifier 'block'
kiasu.c:   271 |   adp = (block *)ad;
kiasu.c:       |          ^~~~~
kiasu.c: kiasu.c:271:17: error: expected expression
kiasu.c:   271 |   adp = (block *)ad;
kiasu.c:       |                 ^
kiasu.c: kiasu.c:277:8: error: call to undeclared function 'zero_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
kiasu.c: ...

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

Compiler output


kiasu.c: kiasu.c: In function 'kiasu_aead_encrypt':
kiasu.c: kiasu.c:256:13: error: unknown type name 'block'
kiasu.c:   256 |   ALIGN(16) block Auth;                         /* Auth value during the mode */
kiasu.c:       |             ^~~~~
kiasu.c: kiasu.c:257:13: error: unknown type name 'block'
kiasu.c:   257 |   ALIGN(16) block Checksum;                     /* Checksum on the plaintext blocks */
kiasu.c:       |             ^~~~~
kiasu.c: kiasu.c:258:13: error: unknown type name 'block'
kiasu.c:   258 |   ALIGN(16) block PaddedBlock;          /* Padded blocks if needed, otherwise the zero bock */
kiasu.c:       |             ^~~~~
kiasu.c: kiasu.c:259:13: error: unknown type name 'block'
kiasu.c:   259 |   ALIGN(16) block ta[BPI];                      /* 8 blocks for parallel processing */
kiasu.c:       |             ^~~~~
kiasu.c: kiasu.c:260:19: error: unknown type name 'block'
kiasu.c:   260 |   ALIGN(16) const block* adp;           /* Pointer to the blocks to process */
kiasu.c:       |                   ^~~~~
kiasu.c: kiasu.c:262:13: error: unknown type name '__m128i'
kiasu.c:   262 |   ALIGN(16) __m128i tmpblock;
kiasu.c:       |             ^~~~~~~
kiasu.c: kiasu.c:271:10: error: 'block' undeclared (first use in this function)
kiasu.c:   271 |   adp = (block *)ad;
kiasu.c:       |          ^~~~~
kiasu.c: kiasu.c:271:10: note: each undeclared identifier is reported only once for each function it appears in
kiasu.c: kiasu.c:271:17: error: expected expression before ')' token
kiasu.c:   271 |   adp = (block *)ad;
kiasu.c: ...

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

Compiler output


encrypt.c: encrypt.c:70:12: warning: unused variable 'outlen' [-Wunused-variable]
encrypt.c:    70 |     size_t outlen = 0;
encrypt.c:       |            ^~~~~~
encrypt.c: 1 warning generated.
kiasu.c: In file included from kiasu.c:26:
kiasu.c: /usr/lib/llvm-21/lib/clang/21/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
kiasu.c:    14 | #error "This header is only meant to be used on x86 and x64 architecture"
kiasu.c:       |  ^
kiasu.c: In file included from kiasu.c:26:
kiasu.c: In file included from /usr/lib/llvm-21/lib/clang/21/include/xmmintrin.h:17:
kiasu.c: /usr/lib/llvm-21/lib/clang/21/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
kiasu.c:    14 | #error "This header is only meant to be used on x86 and x64 architecture"
kiasu.c:       |  ^
kiasu.c: /usr/lib/llvm-21/lib/clang/21/include/mmintrin.h:165:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
kiasu.c:   165 |     return __trunc64(__builtin_ia32_packsswb128(
kiasu.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c:   166 |         (__v8hi)__builtin_shufflevector(__m1, __m2, 0, 1), (__v8hi){}));
kiasu.c:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-21/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
kiasu.c:    59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
kiasu.c:       |                                   ^~~~~~~~~~~
kiasu.c: /usr/lib/llvm-21/lib/clang/21/include/mmintrin.h:191:12: error: invalid conversion between vector type '__v2di' (vector of 2 'long long' values) and integer type 'int' of different size
kiasu.c:   191 |     return __trunc64(__builtin_ia32_packssdw128(
kiasu.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c:   192 |         (__v4si)__builtin_shufflevector(__m1, __m2, 0, 1), (__v4si){}));
kiasu.c:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kiasu.c: /usr/lib/llvm-21/lib/clang/21/include/mmintrin.h:59:35: note: expanded from macro '__trunc64'
kiasu.c:    59 |   (__m64) __builtin_shufflevector((__v2di)(x), __extension__(__v2di){}, 0)
kiasu.c:       |                                   ^~~~~~~~~~~
kiasu.c: ...

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

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_kiasuneq128v1_opt_timingleaks_decrypt':
encrypt.c: encrypt.c:70:12: warning: unused variable 'outlen' [-Wunused-variable]
encrypt.c:    70 |     size_t outlen = 0;
encrypt.c:       |            ^~~~~~
kiasu.c: kiasu.c:26:10: fatal error: xmmintrin.h: No such file or directory
kiasu.c:    26 | #include <xmmintrin.h>              /* SSE instructions and _mm_malloc */
kiasu.c:       |          ^~~~~~~~~~~~~
kiasu.c: compilation terminated.

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

Compiler output


kiasu.c: In function 'set_nonce_in_tweak',
kiasu.c:     inlined from 'kiasu_aead_decrypt' at kiasu.c:224:5:
kiasu.c: kiasu.c:53:21: warning: 'tweak' is used uninitialized [-Wuninitialized]
kiasu.c:    53 |     tweak[0]= (tweak[0]&0xe0)  ^ (nonce[0] >> 3);
kiasu.c:       |                ~~~~~^~~
kiasu.c: kiasu.c: In function 'kiasu_aead_decrypt':
kiasu.c: kiasu.c:207:13: note: 'tweak' declared here
kiasu.c:   207 |     uint8_t tweak[8];
kiasu.c:       |             ^~~~~

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

Namespace violations


kiasu.o kiasu_aead_decrypt T
kiasu.o kiasu_aead_encrypt T
tweakable_aes.o aesTweakDecrypt T
tweakable_aes.o aesTweakEncrypt T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_21.1.8_(13))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_21.1.8_(13))
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_21.1.8_(13))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_21.1.8_(13))
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_21.1.8_(13))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (16.2.0)