Implementation notes: amd64, titan0, crypto_aead/oceankeyakv1

Computer: titan0
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: oceankeyakv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
13477331656 0 33649255 828 1440T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
15931438626 0 30447099 876 1376T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
16974030334 0 30445155 876 1376T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
21296436992 0 30442467 876 1344T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
47818421228 0 33637791 828 1440T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
47873821381 0 30435843 876 1344T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
69830819276 0 30433826 868 1408T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
71063620056 0 33636615 828 1440T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
108943717769 0 33633007 804 1408T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

Compiler output


KeccakDuplex.c: KeccakDuplex.c:63:9: warning: implicit declaration of function 'KeccakP1600_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 KeccakP1600_12_StatePermute
KeccakDuplex.c:                              ^
KeccakDuplex.c: KeccakDuplex.c:85:9: warning: implicit declaration of function 'KeccakP1600_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 KeccakP1600_12_StateXORPermuteExtract
KeccakDuplex.c:                                        ^
KeccakDuplex.c: 2 warnings generated.
KeccakParallelDuplex.c: KeccakParallelDuplex.c:39:24: warning: unused variable 'rho_max' [-Wunused-variable]
KeccakParallelDuplex.c:     const unsigned int rho_max = instances->rate - 2;
KeccakParallelDuplex.c:                        ^
KeccakParallelDuplex.c: KeccakParallelDuplex.c:65:24: warning: unused variable 'rho_max' [-Wunused-variable]
KeccakParallelDuplex.c:     const unsigned int rho_max = instances->rate - 2;
KeccakParallelDuplex.c:                        ^
KeccakParallelDuplex.c: KeccakParallelDuplex.c:66:18: warning: unused variable 'i' [-Wunused-variable]
KeccakParallelDuplex.c:     unsigned int i;
KeccakParallelDuplex.c:                  ^
KeccakParallelDuplex.c: KeccakParallelDuplex.c:229:18: warning: unused variable 'i' [-Wunused-variable]
KeccakParallelDuplex.c:     unsigned int i;
KeccakParallelDuplex.c:                  ^
KeccakParallelDuplex.c: 4 warnings generated.
SerialFallback.c: SerialFallback.c:93:5: warning: implicit declaration of function 'KeccakP1600_12_StatePermute' is invalid in C99 [-Wimplicit-function-declaration]
SerialFallback.c:     KeccakF_StatePermute(stateWithIndex(instanceIndex));
SerialFallback.c:     ^
SerialFallback.c: ./KeccakF-interface.h:53:30: note: expanded from macro 'KeccakF_StatePermute'
SerialFallback.c: #define KeccakF_StatePermute KeccakP1600_12_StatePermute
SerialFallback.c:                              ^
SerialFallback.c: SerialFallback.c:101:9: warning: implicit declaration of function 'KeccakP1600_12_StatePermute' is invalid in C99 [-Wimplicit-function-declaration]
SerialFallback.c:         KeccakF_StatePermute(stateWithIndex(i));
SerialFallback.c:         ^
SerialFallback.c: ./KeccakF-interface.h:53:30: note: expanded from macro 'KeccakF_StatePermute'
SerialFallback.c: #define KeccakF_StatePermute KeccakP1600_12_StatePermute
SerialFallback.c:                              ^
SerialFallback.c: 2 warnings generated.

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

Compiler output


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 'KeccakP1600_12_StatePermute'; did you mean 'KeccakF1600_StatePermute'? [-Wimplicit-function-declaration]
KeccakDuplex.c:    53 | #define KeccakF_StatePermute KeccakP1600_12_StatePermute
KeccakDuplex.c:       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakDuplex.c: KeccakDuplex.c:63:9: note: in expansion of macro 'KeccakF_StatePermute'
KeccakDuplex.c:    63 |         KeccakF_StatePermute(instance->state);
KeccakDuplex.c:       |         ^~~~~~~~~~~~~~~~~~~~
KeccakDuplex.c: KeccakF-interface.h:73:40: warning: implicit declaration of function 'KeccakP1600_12_StateXORPermuteExtract'; did you mean 'KeccakF1600_StateXORPermuteExtract'? [-Wimplicit-function-declaration]
KeccakDuplex.c:    73 | #define KeccakF_StateXORPermuteExtract KeccakP1600_12_StateXORPermuteExtract
KeccakDuplex.c:       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakDuplex.c: KeccakF-interface.h:73:40: note: in definition of macro 'KeccakF_StateXORPermuteExtract'
KeccakDuplex.c:    73 | #define KeccakF_StateXORPermuteExtract KeccakP1600_12_StateXORPermuteExtract
KeccakDuplex.c:       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KeccakParallelDuplex.c: KeccakParallelDuplex.c: In function 'Keccak_ParallelDuplexingAll':
KeccakParallelDuplex.c: KeccakParallelDuplex.c:39:24: warning: unused variable 'rho_max' [-Wunused-variable]
KeccakParallelDuplex.c:    39 |     const unsigned int rho_max = instances->rate - 2;
KeccakParallelDuplex.c:       |                        ^~~~~~~
KeccakParallelDuplex.c: KeccakParallelDuplex.c: In function 'Keccak_ParallelDuplexing':
KeccakParallelDuplex.c: KeccakParallelDuplex.c:66:18: warning: unused variable 'i' [-Wunused-variable]
KeccakParallelDuplex.c:    66 |     unsigned int i;
KeccakParallelDuplex.c:       |                  ^
KeccakParallelDuplex.c: KeccakParallelDuplex.c:65:24: warning: unused variable 'rho_max' [-Wunused-variable]
KeccakParallelDuplex.c:    65 |     const unsigned int rho_max = instances->rate - 2;
KeccakParallelDuplex.c:       |                        ^~~~~~~
KeccakParallelDuplex.c: KeccakParallelDuplex.c: In function 'Keccak_ParallelDuplexingOverwriteWithZeroes':
KeccakParallelDuplex.c: KeccakParallelDuplex.c:229:18: warning: unused variable 'i' [-Wunused-variable]
KeccakParallelDuplex.c:   229 |     unsigned int i;
KeccakParallelDuplex.c:       |                  ^
SerialFallback.c: In file included from ParallelKeccakFs.h:17,
SerialFallback.c:                  from SerialFallback.c:14:
SerialFallback.c: SerialFallback.c: In function 'KeccakF_ParallelStatePermute':
SerialFallback.c: KeccakF-interface.h:53:30: warning: implicit declaration of function 'KeccakP1600_12_StatePermute'; did you mean 'KeccakF1600_StatePermute'? [-Wimplicit-function-declaration]
SerialFallback.c:    53 | #define KeccakF_StatePermute KeccakP1600_12_StatePermute
SerialFallback.c:       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
SerialFallback.c: SerialFallback.c:93:5: note: in expansion of macro 'KeccakF_StatePermute'
SerialFallback.c:    93 |     KeccakF_StatePermute(stateWithIndex(instanceIndex));
SerialFallback.c:       |     ^~~~~~~~~~~~~~~~~~~~

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