Test results for armeabi, tinker, crypto_aead/hs1sivlov2
[Page version: 20241215 22:35:41]
Measurements for armeabi, tinker, crypto_aead
Test results for armeabi, tinker, crypto_aead
Test results for crypto_aead/hs1sivlov2
Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: hs1sivlov2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
40768 | 5545 0 0 | 22497 392 824 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
46792 | 5714 0 0 | 25246 420 824 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
49036 | 4061 0 0 | 20277 392 824 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
75062 | 3625 0 0 | 18485 392 816 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
Test failure
error 111
crypto_aead_decrypt allows trivial forgeries
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
hs1.c: hs1.c:1033:30: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' [-Wimplicit-function-declaration]
hs1.c: unsigned char *tmp = malloc(abytes);
hs1.c: ^
hs1.c: hs1.c:1033:30: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
hs1.c: hs1.c:1037:9: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
hs1.c: free(tmp);
hs1.c: ^
hs1.c: hs1.c:1037:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
hs1.c: 2 warnings generated.
chacha_moon.S: chacha_moon.S:10987:29: error: expected '%<type>' or "<type>"
chacha_moon.S: .section .note.GNU-stack,"",@progbits
chacha_moon.S: ^
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:faster | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
hs1.c: hs1.c: In function ‘poly61finalize’:
hs1.c: hs1.c:644:16: warning: unused variable ‘tmp’ [-Wunused-variable]
hs1.c: 644 | uint64x2_t tmp;
hs1.c: | ^~~
hs1.c: hs1.c: In function ‘nh’:
hs1.c: hs1.c:663:16: warning: unused variable ‘j’ [-Wunused-variable]
hs1.c: 663 | unsigned i,j;
hs1.c: | ^
hs1.c: hs1.c: At top level:
hs1.c: hs1.c:698:87: warning: argument 4 of type ‘uint64_t *’ {aka ‘long long unsigned int *’} declared as a pointer [-Warray-parameter=]
hs1.c: 698 | void hash_step(const hs1_hash_ctx_t *ctx, const void *in, unsigned inbytes, uint64_t *accum) {
hs1.c: | ~~~~~~~~~~^~~~~
hs1.c: In file included from hs1.c:23:
hs1.c: hs1.h:74:14: note: previously declared as an array ‘uint64_t[2]’ {aka ‘long long unsigned int[2]’}
hs1.c: 74 | uint64_t accum[HS1_HASH_RNDS]
hs1.c: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
hs1.c: hs1.c: In function ‘hash_finalize’:
hs1.c: hs1.c:720:30: warning: unused variable ‘kp’ [-Wunused-variable]
hs1.c: 720 | const uint32_t *mp, *kp = (const uint32_t *)(ctx->nh_key);
hs1.c: | ^~
hs1.c: hs1.c: In function ‘hs1siv_decrypt’:
hs1.c: hs1.c:1033:30: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
hs1.c: 1033 | unsigned char *tmp = malloc(abytes);
hs1.c: | ^~~~~~
hs1.c: hs1.c:31:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
hs1.c: ...
chacha_moon.S: chacha_moon.S: Assembler messages:
chacha_moon.S: chacha_moon.S:10987: Error: junk at end of line, first unrecognized character is `,'
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Compiler output
encrypt.c: encrypt.c:326:14: warning: unused variable 'k' [-Wunused-variable]
encrypt.c: unsigned k = (HS1_SIV_HASH_RNDS > 4 ? 1 : 2);
encrypt.c: ^
encrypt.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
encrypt.c: encrypt.c: In function ‘hs1_hash’:
encrypt.c: encrypt.c:326:14: warning: unused variable ‘k’ [-Wunused-variable]
encrypt.c: 326 | unsigned k = (HS1_SIV_HASH_RNDS > 4 ? 1 : 2);
encrypt.c: | ^
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
Namespace violations
encrypt.o chacha T
encrypt.o chacha_ivsetup T
encrypt.o chacha_keysetup T
encrypt.o hs1 T
encrypt.o hs1_hash T
encrypt.o hs1siv_chacha256 T
encrypt.o hs1siv_decrypt T
encrypt.o hs1siv_encrypt T
encrypt.o hs1siv_subkeygen T
encrypt.o prf_hash2 T
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |