Implementation notes: armeabi, berry2, crypto_aead/ketjesrv2

Computer: berry2
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20210529
Operation: crypto_aead
Primitive: ketjesrv2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7358287679 0 037742 392 832T:compactclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021011820210114
9661376321 0 025340 404 816T:compactgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
33036014995 0 022196 404 816T:compactgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
42925024603 0 021015 396 816T:compactgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
86533585331 0 023284 404 816T:compactgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
8092752069489 564 2780737 1024 856T:refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
9767064248023 564 2761007 1024 856T:refg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
16066557635349 564 2748637 988 840T:refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011820210114
16294211347884 564 2760895 1016 856T:refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021011920210114

Test failure

Implementation: T:ARMv6M
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 124

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ARMv6M
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ARMv6M

Test failure

Implementation: T:ARMv6M
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ARMv6M

Test failure

Implementation: T:ARMv6M
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 116

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ARMv6M

Compiler output

Implementation: T:ARMv6M
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KeccakP-400-armv6m-le-gcc.s: KeccakP-400-armv6m-le-gcc.s:359:5: error: out of range pc-relative fixup value
KeccakP-400-armv6m-le-gcc.s: beq KeccakP400_Permute_RoundLoop
KeccakP-400-armv6m-le-gcc.s: ^

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

Compiler output

Implementation: T:ARMv7M
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KetjeSr.c: In file included from KetjeSr.c:20:
KetjeSr.c: ./KetSr.h:22:14: fatal error: 'KeccakP-400-SnP.h' file not found
KetjeSr.c: #include "KeccakP-400-SnP.h"
KetjeSr.c: ^~~~~~~~~~~~~~~~~~~
KetjeSr.c: 1 error generated.

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

Compiler output

Implementation: T:ARMv7M
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
KetjeSr.c: In file included from KetjeSr.c:20:
KetjeSr.c: KetSr.h:22:14: fatal error: KeccakP-400-SnP.h: No such file or directory
KetjeSr.c: #include "KeccakP-400-SnP.h"
KetjeSr.c: ^~~~~~~~~~~~~~~~~~~
KetjeSr.c: compilation terminated.

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
Keccak-f.cpp: In file included from /usr/include/c++/8/vector:69,
Keccak-f.cpp: from Keccak-f.h:21,
Keccak-f.cpp: from Keccak-f.cpp:17:
Keccak-f.cpp: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long unsigned int}; _Tp = long long unsigned int; _Alloc = std::allocator<long long unsigned int>]':
Keccak-f.cpp: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector<long long unsigned int>::iterator' {aka '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >'} changed in GCC 7.1
Keccak-f.cpp: vector<_Tp, _Alloc>::
Keccak-f.cpp: ^~~~~~~~~~~~~~~~~~~
Keccak-f.cpp: /usr/include/c++/8/bits/vector.tcc: In member function 'void KeccakF::initializeRoundConstants()':
Keccak-f.cpp: /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >' changed in GCC 7.1
Keccak-f.cpp: _M_realloc_insert(end(), std::forward<_Args>(__args)...);
Keccak-f.cpp: ^~~~~~~~~~~~~~~~~

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Namespace violations

Implementation: T:compact
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
KeccakP-400-reference.o KeccakP400OnWords T
KeccakP-400-reference.o KeccakP400Round T
KeccakP-400-reference.o KeccakP400_AddByte T
KeccakP-400-reference.o KeccakP400_AddBytes T
KeccakP-400-reference.o KeccakP400_DisplayRhoOffsets T
KeccakP-400-reference.o KeccakP400_DisplayRoundConstants T
KeccakP-400-reference.o KeccakP400_ExtractAndAddBytes T
KeccakP-400-reference.o KeccakP400_ExtractBytes T
KeccakP-400-reference.o KeccakP400_Initialize T
KeccakP-400-reference.o KeccakP400_OverwriteBytes T
KeccakP-400-reference.o KeccakP400_OverwriteWithZeroes T
KeccakP-400-reference.o KeccakP400_Permute_20rounds T
KeccakP-400-reference.o KeccakP400_Permute_Nrounds T
KetSr.o KetSr_FeedAssociatedDataBlocks T
KetSr.o KetSr_StateAddByte T
KetSr.o KetSr_StateExtractByte T
KetSr.o KetSr_StateOverwrite T
KetSr.o KetSr_StateTwistIndexes R
KetSr.o KetSr_Step T
KetSr.o KetSr_UnwrapBlocks T
KetSr.o KetSr_WrapBlocks T
KetjeSr.o KetjeSr_FeedAssociatedData T
KetjeSr.o KetjeSr_GetTag T
KetjeSr.o KetjeSr_Initialize T
KetjeSr.o KetjeSr_UnwrapCiphertext T
KetjeSr.o KetjeSr_WrapPlaintext T

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