Implementation notes: armeabi, novena, crypto_stream/aes256ctr

Computer: novena
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20220506
Operation: crypto_stream
Primitive: aes256ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
50004316 0 015708 452 744T:opensslclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060420220506
50004312 0 013930 448 744T:opensslclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060420220506
50004324 0 022956 452 760T:opensslclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060420220506
50004284 0 011999 456 744T:opensslgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060420220506
50004186 0 09555 448 744T:opensslgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060420220506
50804188 0 010551 456 744T:opensslgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060420220506
52404188 0 010155 456 744T:opensslgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022060420220506
54804336 0 014090 448 744T:opensslclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060420220506
57605316 0 014492 452 752T:opensslclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2022060420220506

Test failure

Implementation: T:cryptopp
Security model: timingleaks
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111
crypto_stream_xor does not handle m=c overlap

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:cryptopp
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:cryptopp
clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:cryptopp
clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:cryptopp
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:cryptopp
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:cryptopp
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:cryptopp
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:cryptopp

Compiler output

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/arm_neon.h:32:2: error: "NEON support not enabled"
armv8crypto.c: #error "NEON support not enabled"
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:29:13: error: expected ';' after expression
armv8crypto.c: uint8x16_t vzero = vreinterpretq_u8_u32(vdupq_n_u32(0));
armv8crypto.c: ^
armv8crypto.c: ;
armv8crypto.c: armv8crypto.c:29:3: error: use of undeclared identifier 'uint8x16_t'
armv8crypto.c: uint8x16_t vzero = vreinterpretq_u8_u32(vdupq_n_u32(0));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:29:14: error: use of undeclared identifier 'vzero'
armv8crypto.c: uint8x16_t vzero = vreinterpretq_u8_u32(vdupq_n_u32(0));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:29:22: warning: implicit declaration of function 'vreinterpretq_u8_u32' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: uint8x16_t vzero = vreinterpretq_u8_u32(vdupq_n_u32(0));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:29:43: warning: implicit declaration of function 'vdupq_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: uint8x16_t vzero = vreinterpretq_u8_u32(vdupq_n_u32(0));
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:54:16: warning: implicit declaration of function 'vgetq_lane_u32' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: temp_lds = armv8_aese_sbox(rotl_aes_edrk);
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:31:9: note: expanded from macro 'armv8_aese_sbox'
armv8crypto.c: vgetq_lane_u32(vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(vdupq_n_u32(input)), vzero)),0)
armv8crypto.c: ...

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

Compiler output

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
armv8crypto.c: armv8crypto.c:54:16: warning: implicit declaration of function 'vaeseq_u8' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: temp_lds = armv8_aese_sbox(rotl_aes_edrk);
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:31:45: note: expanded from macro 'armv8_aese_sbox'
armv8crypto.c: vgetq_lane_u32(vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(vdupq_n_u32(input)), vzero)),0)
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:54:16: error: passing 'int' to parameter of incompatible type 'uint8x16_t' (vector of 16 'uint8_t' values)
armv8crypto.c: temp_lds = armv8_aese_sbox(rotl_aes_edrk);
armv8crypto.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:31:45: note: expanded from macro 'armv8_aese_sbox'
armv8crypto.c: vgetq_lane_u32(vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(vdupq_n_u32(input)), vzero)),0)
armv8crypto.c: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/arm_neon.h:7509:21: note: expanded from macro 'vgetq_lane_u32'
armv8crypto.c: uint32x4_t __s0 = __p0; \
armv8crypto.c: ^~~~
armv8crypto.c: /usr/lib/llvm-11/lib/clang/11.0.1/include/arm_neon.h:32650:49: note: passing argument to parameter '__p0' here
armv8crypto.c: __ai uint32x4_t vreinterpretq_u32_u8(uint8x16_t __p0) {
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:67:16: warning: implicit declaration of function 'vaeseq_u8' is invalid in C99 [-Wimplicit-function-declaration]
armv8crypto.c: temp_lds = armv8_aese_sbox(tmp11);
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:31:45: note: expanded from macro 'armv8_aese_sbox'
armv8crypto.c: vgetq_lane_u32(vreinterpretq_u32_u8(vaeseq_u8(vreinterpretq_u8_u32(vdupq_n_u32(input)), vzero)),0)
armv8crypto.c: ^
armv8crypto.c: armv8crypto.c:67:16: error: passing 'int' to parameter of incompatible type 'uint8x16_t' (vector of 16 'uint8_t' values)
armv8crypto.c: ...

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

Compiler output

Implementation: T:dolbeau/armv8crypto
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: armv8crypto.c: In function ‘aesni_encrypt8’:
armv8crypto.c: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:10417:1: error: inlining failed in call to ‘always_inline’ ‘vld1q_u32’: target specific option mismatch
armv8crypto.c: 10417 | vld1q_u32 (const uint32_t * __a)
armv8crypto.c: | ^~~~~~~~~
armv8crypto.c: armv8crypto.c:166:23: note: called from here
armv8crypto.c: 166 | uint32x4_t nv0i = vld1q_u32((const uint32_t*)n); \
armv8crypto.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:191:1: note: in expansion of macro ‘FUNC’
armv8crypto.c: 191 | FUNC(8, MAKE8)
armv8crypto.c: | ^~~~
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:11002:1: error: inlining failed in call to ‘always_inline’ ‘vst1q_u64’: target specific option mismatch
armv8crypto.c: 11002 | vst1q_u64 (uint64_t * __a, uint64x2_t __b)
armv8crypto.c: | ^~~~~~~~~
armv8crypto.c: armv8crypto.c:173:7: note: called from here
armv8crypto.c: 173 | vst1q_u64((uint64_t*)n, vaddq_u64(vreinterpretq_u64_u32(nv0i), vsetq_pair_u64(N,1))); \
armv8crypto.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
armv8crypto.c: armv8crypto.c:191:1: note: in expansion of macro ‘FUNC’
armv8crypto.c: 191 | FUNC(8, MAKE8)
armv8crypto.c: | ^~~~
armv8crypto.c: In file included from armv8crypto.c:11:
armv8crypto.c: /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:658:1: error: inlining failed in call to ‘always_inline’ ‘vaddq_u64’: target specific option mismatch
armv8crypto.c: 658 | vaddq_u64 (uint64x2_t __a, uint64x2_t __b)
armv8crypto.c: | ^~~~~~~~~
armv8crypto.c: ...

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