Implementation notes: aarch64, pi3aplus, crypto_aead/ketjejrv2

Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: ketjejrv2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
14724094383 0 022837 768 856T:compactclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
16113856663 0 025104 864 864T:compactgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
29022214838 0 022000 864 848T:compactgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
32227364343 0 020824 848 840T:compactgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
39423824898 0 022304 864 848T:compactgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
11150654777845 1192 4789546 1880 944T:refg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
11938061857850 1192 4772118 1880 928T:refg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
23259212942361 1192 4757230 1824 888T:refg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716
23457246256079 1192 4770797 1880 928T:refg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024072120240716

Compiler output


KeccakP-200-compact.c: KeccakP-200-compact.c:20:36: warning: '/*' within block comment [-Wcomment]
KeccakP-200-compact.c: /* #define DIVISION_INSTRUCTION    /* comment if no division instruction or more compact when not using division */
KeccakP-200-compact.c:                                    ^
KeccakP-200-compact.c: 1 warning generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:compactclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


KeccakP-200-compact.c: KeccakP-200-compact.c:20:36: warning: "/*" within comment [-Wcomment]
KeccakP-200-compact.c:  /* #define DIVISION_INSTRUCTION    /* comment if no division instruction or more compact when not using division */
KeccakP-200-compact.c:

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

Compiler output


Keccak-f.cpp: In file included from Keccak-f.cpp:17:
Keccak-f.cpp: Keccak-f.h: In instantiation of 'void KeccakF::forward(std::vector<Lane>&) const [with Lane = long long unsigned int]':
Keccak-f.cpp: Keccak-f.cpp:175:14:   required from here
Keccak-f.cpp: Keccak-f.h:473:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
Keccak-f.cpp:      for(int i=startRoundIndex; i<startRoundIndex+nrRounds; i++)
Keccak-f.cpp:                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~

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

Namespace violations


KeccakP-200-compact.o KeccakF200_RoundConstants R
KeccakP-200-compact.o KeccakP200_AddByte T
KeccakP-200-compact.o KeccakP200_AddBytes T
KeccakP-200-compact.o KeccakP200_ExtractAndAddBytes T
KeccakP-200-compact.o KeccakP200_ExtractBytes T
KeccakP-200-compact.o KeccakP200_Initialize T
KeccakP-200-compact.o KeccakP200_Mod5 R
KeccakP-200-compact.o KeccakP200_OverwriteBytes T
KeccakP-200-compact.o KeccakP200_OverwriteWithZeroes T
KeccakP-200-compact.o KeccakP200_Permute_18rounds T
KeccakP-200-compact.o KeccakP200_Permute_Nrounds T
KeccakP-200-compact.o KeccakP200_PiLane R
KeccakP-200-compact.o KeccakP200_RotationConstants R
KetJr.o KetJr_FeedAssociatedDataBlocks T
KetJr.o KetJr_StateAddByte T
KetJr.o KetJr_StateExtractByte T
KetJr.o KetJr_StateOverwrite T
KetJr.o KetJr_StateTwistIndexes R
KetJr.o KetJr_Step T
KetJr.o KetJr_UnwrapBlocks T
KetJr.o KetJr_WrapBlocks T
KetjeJr.o KetjeJr_FeedAssociatedData T
KetjeJr.o KetjeJr_GetTag T
KetjeJr.o KetjeJr_Initialize T
KetjeJr.o KetjeJr_UnwrapCiphertext T
KetjeJr.o KetjeJr_WrapPlaintext T

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:compactclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:compactgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:compactgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:compactgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:compactgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)