Implementation notes: amd64, jasper2, crypto_aead/seakeyakv1
Computer: jasper2
Microarchitecture: amd64; Tremont (906c0)
Architecture: amd64
CPU ID: GenuineIntel-000906c0-20-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: seakeyakv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
118957 | 39568 0 336 | 47523 796 1432 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
168536 | 44612 0 304 | 42331 828 1336 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
169079 | 27348 0 304 | 39451 828 1336 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
186445 | 45656 0 304 | 41835 828 1336 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
368576 | 19903 0 336 | 35587 796 1432 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
421404 | 18939 0 304 | 34134 820 1336 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
798478 | 18736 0 336 | 34419 796 1432 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
879435 | 16146 0 336 | 30923 772 1400 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
890649 | 17914 0 304 | 32446 820 1336 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240629 | 20240625 |
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:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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: | ^
KeccakParallelDuplex.c: KeccakParallelDuplex.c: In function 'Keccak_ParallelDuplexingGetFurtherInterleavedOutput':
KeccakParallelDuplex.c: KeccakParallelDuplex.c:284:38: warning: array subscript 2 is above array bounds of 'unsigned int[2]' [-Warray-bounds]
KeccakParallelDuplex.c: 284 | while((instances->byteOutputIndex[i] == rho_maxInBytes) && (i < NumberOfParallelInstances))
KeccakParallelDuplex.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
KeccakParallelDuplex.c: In file included from KeccakParallelDuplex.c:15:
KeccakParallelDuplex.c: KeccakParallelDuplex.h:46:18: note: while referencing 'byteOutputIndex'
KeccakParallelDuplex.c: 46 | unsigned int byteOutputIndex[NumberOfParallelInstances];
KeccakParallelDuplex.c: | ^~~~~~~~~~~~~~~
KeccakParallelDuplex.c: KeccakParallelDuplex.c: In function 'Keccak_ParallelDuplexingGetFurtherInterleavedOutputAndXOR':
KeccakParallelDuplex.c: KeccakParallelDuplex.c:337:38: warning: array subscript 2 is above array bounds of 'unsigned int[2]' [-Warray-bounds]
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: 3, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |