Implementation notes: aarch64, jetsontx1, crypto_aead/riverkeyakv1

Computer: jetsontx1
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: riverkeyakv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
31570018862 0 1234175 848 1072refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
31686912656 0 1226849 776 1048refclang_-mcpu=native_-march=armv8a+crypto_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
31855212784 0 1228177 776 1064refclang_-mcpu=native_-march=armv8a+crypto_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
32294612656 0 1226849 776 1048refclang_-mcpu=native_-march=armv8a+crypto_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910
32989415312 0 1232479 824 1064refarmclang_-march=armv8a+crypto_-mcpu=cortex-a57_-mtune=cortex-a57_-O3_-fPIC_-fPIE2019101720190910
33077115488 0 1231511 824 1048refarmclang_-march=armv8a+crypto_-mcpu=cortex-a57_-mtune=cortex-a57_-O2_-fPIC_-fPIE2019101720190910
120022511086 0 1225231 848 1056refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
12942349668 0 1222563 832 1048refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
160132111086 0 1225119 848 1056refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019101720190910
17413427700 0 1220007 768 1048refclang_-mcpu=native_-march=armv8a+crypto_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019101720190910

Compiler output

Implementation: ref
Security model: unknown
Compiler: armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE
KeccakDuplex.c: KeccakDuplex.c:63:9: warning: implicit declaration of function 'KeccakP800_12_StatePermute' is invalid in C99 [-Wimplicit-function-declaration]
KeccakDuplex.c: KeccakF_StatePermute(instance->state);
KeccakDuplex.c: ^
KeccakDuplex.c: ./KeccakF-interface.h:53:30: note: expanded from macro 'KeccakF_StatePermute'
KeccakDuplex.c: #define KeccakF_StatePermute KeccakP800_12_StatePermute
KeccakDuplex.c: ^
KeccakDuplex.c: KeccakDuplex.c:85:9: warning: implicit declaration of function 'KeccakP800_12_StateXORPermuteExtract' is invalid in C99 [-Wimplicit-function-declaration]
KeccakDuplex.c: KeccakF_StateXORPermuteExtract(instance->state, sigmaBegin, sigmaBeginByteLen/KeccakF_laneInBytes,
KeccakDuplex.c: ^
KeccakDuplex.c: ./KeccakF-interface.h:73:40: note: expanded from macro 'KeccakF_StateXORPermuteExtract'
KeccakDuplex.c: #define KeccakF_StateXORPermuteExtract KeccakP800_12_StateXORPermuteExtract
KeccakDuplex.c: ^
KeccakDuplex.c: 2 warnings generated.

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE ref
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O3 -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
KeccakDuplex.c: In file included from KeccakDuplex.h:17,
KeccakDuplex.c: from KeccakDuplex.c:15:
KeccakDuplex.c: KeccakDuplex.c: In function 'Keccak_Duplexing':
KeccakDuplex.c: KeccakF-interface.h:53:30: warning: implicit declaration of function 'KeccakP800_12_StatePermute'; did you mean 'KeccakF800_StatePermute'? [-Wimplicit-function-declaration]
KeccakDuplex.c: #define KeccakF_StatePermute KeccakP800_12_StatePermute
KeccakDuplex.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakDuplex.c: KeccakDuplex.c:63:9: note: in expansion of macro 'KeccakF_StatePermute'
KeccakDuplex.c: KeccakF_StatePermute(instance->state);
KeccakDuplex.c: ^~~~~~~~~~~~~~~~~~~~
KeccakDuplex.c: KeccakF-interface.h:73:40: warning: implicit declaration of function 'KeccakP800_12_StateXORPermuteExtract'; did you mean 'KeccakF800_StateXORPermuteExtract'? [-Wimplicit-function-declaration]
KeccakDuplex.c: #define KeccakF_StateXORPermuteExtract KeccakP800_12_StateXORPermuteExtract
KeccakDuplex.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakDuplex.c: KeccakF-interface.h:73:40: note: in definition of macro 'KeccakF_StateXORPermuteExtract'
KeccakDuplex.c: #define KeccakF_StateXORPermuteExtract KeccakP800_12_StateXORPermuteExtract
KeccakDuplex.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE
KeccakDuplex.o Keccak_DuplexGetInputIndex T
KeccakDuplex.o Keccak_DuplexGetOutputIndex T
KeccakDuplex.o Keccak_DuplexInitialize T
KeccakDuplex.o Keccak_Duplexing T
KeccakDuplex.o Keccak_DuplexingFeedPartialInput T
KeccakDuplex.o Keccak_DuplexingFeedZeroes T
KeccakDuplex.o Keccak_DuplexingGetFurtherOutput T
KeccakDuplex.o Keccak_DuplexingGetFurtherOutputAndXOR T
KeccakDuplex.o Keccak_DuplexingOverwritePartialInput T
KeccakDuplex.o Keccak_DuplexingOverwriteWithZeroes T
KeccakF-800-reference.o KeccakF800OnWords T
KeccakF-800-reference.o KeccakF800Round T
KeccakF-800-reference.o KeccakF800_Initialize T
KeccakF-800-reference.o KeccakF800_InitializeRhoOffsets T
KeccakF-800-reference.o KeccakF800_InitializeRoundConstants T
KeccakF-800-reference.o KeccakF800_StateComplementBit T
KeccakF-800-reference.o KeccakF800_StateExtractAndXORBytesInLane T
KeccakF-800-reference.o KeccakF800_StateExtractAndXORLanes T
KeccakF-800-reference.o KeccakF800_StateExtractBytesInLane T
KeccakF-800-reference.o KeccakF800_StateExtractLanes T
KeccakF-800-reference.o KeccakF800_StateInitialize T
KeccakF-800-reference.o KeccakF800_StateOverwriteBytesInLane T
KeccakF-800-reference.o KeccakF800_StateOverwriteLanes T
KeccakF-800-reference.o KeccakF800_StateOverwriteWithZeroes T
KeccakF-800-reference.o KeccakF800_StatePermute T
KeccakF-800-reference.o KeccakF800_StateXORBytesInLane T
KeccakF-800-reference.o KeccakF800_StateXORLanes T
KeccakF-800-reference.o KeccakF800_StateXORPermuteExtract T
KeccakF-800-reference.o KeccakRhoOffsets C
KeccakF-800-reference.o KeccakRoundConstants C
KeccakF-800-reference.o LFSR86540 T
KeccakF-800-reference.o chi T
KeccakF-800-reference.o displayRhoOffsets T
KeccakF-800-reference.o displayRoundConstants T
KeccakF-800-reference.o fromBytesToWords T
KeccakF-800-reference.o fromWordsToBytes T
KeccakF-800-reference.o iota T
KeccakF-800-reference.o pi T
KeccakF-800-reference.o rho T
KeccakF-800-reference.o theta T
KeccakP-800-12-reference.o KeccakP800_12_OnWords T
KeccakP-800-12-reference.o KeccakP800_12_StatePermute T
KeccakP-800-12-reference.o KeccakP800_12_StateXORPermuteExtract T
Keyak.o Keyak_FeedAssociatedData T
Keyak.o Keyak_Forget T
Keyak.o Keyak_GetTag T
Keyak.o Keyak_Initialize T
Keyak.o Keyak_ProcessAssociatedData T
Keyak.o Keyak_ProcessCiphertext T
Keyak.o Keyak_ProcessForget T
Keyak.o Keyak_ProcessPlaintext T
Keyak.o Keyak_ProcessTag T
Keyak.o Keyak_UnwrapCiphertext T
Keyak.o Keyak_WrapPlaintext T
Keyak.o LakeKeyak_Initialize T
Keyak.o RiverKeyak_Initialize T
displayIntermediateValues.o displayBits T
displayIntermediateValues.o displayBytes T
displayIntermediateValues.o displayLevel B
displayIntermediateValues.o displayRoundNumber T
displayIntermediateValues.o displaySetIntermediateValueFile T
displayIntermediateValues.o displaySetLevel T
displayIntermediateValues.o displayStateAs32bitWords T
displayIntermediateValues.o displayStateAsBytes T
displayIntermediateValues.o displayStateAsLanes T
displayIntermediateValues.o displayText T
displayIntermediateValues.o intermediateValueFile B

Number of similar (compiler,implementation) pairs: 10, namely:
CompilerImplementations
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O2 -fPIC -fPIE ref
armclang -march=armv8a+crypto -mcpu=cortex-a57 -mtune=cortex-a57 -O3 -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -march=armv8a+crypto -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref