Test results for amd64, r24000, crypto_aead/twine80n6clocv1

[Page version: 20240920 16:00:50]

Measurements for amd64, r24000, crypto_aead Test results for amd64, r24000, crypto_aead Test results for crypto_aead/twine80n6clocv1
Computer: r24000
Microarchitecture: amd64; Coffee Lake (906ea)
Architecture: amd64
CPU ID: GenuineIntel-000906ea-bfebfbff
SUPERCOP version: 20240909
Operation: crypto_aead
Primitive: twine80n6clocv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5539856910 0 28821707 804 1384T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072820240716
5629137321 0 28822516 812 1384T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072820240716
5639438427 0 28825692 812 1384T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072820240716
17727606237 0 28819791 788 1352T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024072820240716

Compiler output


cloc.c: cloc.c:64:3: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:                 pstate2("After xoring associated data:", state);
cloc.c:                 ^
cloc.c: cloc.c:64:3: note: did you mean 'pstate'?
cloc.c: ./cloc.h:91:6: note: 'pstate' declared here
cloc.c: void pstate(const unsigned char* st, int len);
cloc.c:      ^
cloc.c: cloc.c:72:3: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:                 pstate2("After processing last partial associated data block:", state);
cloc.c:                 ^
cloc.c: cloc.c:93:2: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:         pstate2("After applying f1/f2 to state:", state);
cloc.c:         ^
cloc.c: cloc.c:133:4: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:                         pstate2("After xoring message block:", es);
cloc.c:                         ^
cloc.c: cloc.c:138:4: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:                         pstate2("After xoring ciphertext block:", es);
cloc.c:                         ^
cloc.c: cloc.c:145:3: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:                 pstate2("After applying fix1:", es);
cloc.c:                 ^
cloc.c: cloc.c:154:3: error: call to undeclared function 'pstate2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cloc.c:                 pstate2("After xoring last partial message block:", es);
cloc.c:                 ^
cloc.c: ...

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

Compiler output


cloc.c: cloc.c: In function 'process_ad':
cloc.c: cloc.c:64:17: warning: implicit declaration of function 'pstate2'; did you mean 'pstate'? [-Wimplicit-function-declaration]
cloc.c:    64 |                 pstate2("After xoring associated data:", state);
cloc.c:       |                 ^~~~~~~
cloc.c:       |                 pstate
encrypt.c: encrypt.c: In function 'crypto_aead_twine80n6clocv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:71:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
encrypt.c:    71 |     for(i = 0; i < CRYPTO_ABYTES; i++)
encrypt.c:       |     ^~~
encrypt.c: encrypt.c:76:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
encrypt.c:    76 |         return RETURN_SUCCESS;
encrypt.c:       |         ^~~~~~
twine.c: twine.c: In function 'Keyschedule':
twine.c: twine.c:451:17: warning: 'Keyschedule128' reading 32 bytes from a region of size 16 [-Wstringop-overread]
twine.c:   451 |                 Keyschedule128(sk);
twine.c:       |                 ^~~~~~~~~~~~~~~~~~
twine.c: twine.c:451:17: note: referencing argument 1 of type 'const uint8[32]' {aka 'const unsigned char[32]'}
twine.c: twine.c:317:6: note: in a call to function 'Keyschedule128'
twine.c:   317 | void Keyschedule128(const uint8 sk[128/4])
twine.c:       |      ^~~~~~~~~~~~~~

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

Namespace violations


cloc.o ae_encrypt T
cloc.o ae_init T
cloc.o process_ad T
twine.o CON_H R
twine.o CON_L R
twine.o Decode T
twine.o Encode T
twine.o Keyschedule T
twine.o Keyschedule128 T
twine.o Keyschedule80 T
twine.o S R
twine.o ek B
utils.o ae_allocate T
utils.o print_cxt T
utils.o pstate T
utils.o pstate2 T
utils.o xor_bytes T
utils.o xor_bytes2 T

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