Test results for armeabi, tinker, crypto_aead/hs1sivhiv2
[Page version: 20241215 22:35:41]
Measurements for armeabi, tinker, crypto_aead
Test results for armeabi, tinker, crypto_aead
Test results for crypto_aead/hs1sivhiv2
Computer: tinker
Microarchitecture: armeabi; Cortex-A17 (410fc0d1)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: hs1sivhiv2
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
99249 | 6561 0 0 | 23633 392 824 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
103694 | 6350 0 0 | 25810 420 824 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
108835 | 4365 0 0 | 20709 392 824 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
115839 | 2758 0 0 | 15837 384 816 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
153937 | 3877 0 0 | 18841 392 816 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241101 | 20241022 |
Compiler output
encrypt.c: In file included from encrypt.c:54:
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.6/include/arm_neon.h:32:2: error: "NEON support not enabled"
encrypt.c: #error "NEON support not enabled"
encrypt.c: ^
encrypt.c: In file included from encrypt.c:192:
encrypt.c: ./c256.h:23:3: error: unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
encrypt.c: uint32x4_t x_0 = vdupq_n_u32(x[0]);
encrypt.c: ^~~~~~~~~~
encrypt.c: uint32_t
encrypt.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:26:20: note: 'uint32_t' declared here
encrypt.c: typedef __uint32_t uint32_t;
encrypt.c: ^
encrypt.c: In file included from encrypt.c:192:
encrypt.c: ./c256.h:23:20: warning: implicit declaration of function 'vdupq_n_u32' is invalid in C99 [-Wimplicit-function-declaration]
encrypt.c: uint32x4_t x_0 = vdupq_n_u32(x[0]);
encrypt.c: ^
encrypt.c: ./c256.h:24:3: error: unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
encrypt.c: uint32x4_t x_1 = vdupq_n_u32(x[1]);
encrypt.c: ^~~~~~~~~~
encrypt.c: uint32_t
encrypt.c: /usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h:26:20: note: 'uint32_t' declared here
encrypt.c: typedef __uint32_t uint32_t;
encrypt.c: ^
encrypt.c: In file included from encrypt.c:192:
encrypt.c: ./c256.h:25:3: error: unknown type name 'uint32x4_t'; did you mean 'uint32_t'?
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:dolbeau/armv8crypto | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
Compiler output
encrypt.c: In file included from encrypt.c:192:
encrypt.c: c256.h: In function ‘chacha_noxor368’:
encrypt.c: c256.h:134:13: warning: implicit declaration of function ‘vtrn1q_u32’; did you mean ‘vtrnq_u32’? [-Wimplicit-function-declaration]
encrypt.c: 134 | t0l = vtrn1q_u32(x_##a,x_##b); \
encrypt.c: | ^~~~~~~~~~
encrypt.c: c256.h:148:5: note: in expansion of macro ‘ONEQUAD_TRANSPOSE_NOXOR’
encrypt.c: 148 | ONEQUAD_TRANSPOSE_NOXOR(0,1,2,3);
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:134:13: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘int’
encrypt.c: 134 | t0l = vtrn1q_u32(x_##a,x_##b); \
encrypt.c: | ^~~~~~~~~~
encrypt.c: c256.h:148:5: note: in expansion of macro ‘ONEQUAD_TRANSPOSE_NOXOR’
encrypt.c: 148 | ONEQUAD_TRANSPOSE_NOXOR(0,1,2,3);
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:135:13: warning: implicit declaration of function ‘vtrn2q_u32’; did you mean ‘vtrnq_u32’? [-Wimplicit-function-declaration]
encrypt.c: 135 | t0h = vtrn2q_u32(x_##a,x_##b); \
encrypt.c: | ^~~~~~~~~~
encrypt.c: c256.h:148:5: note: in expansion of macro ‘ONEQUAD_TRANSPOSE_NOXOR’
encrypt.c: 148 | ONEQUAD_TRANSPOSE_NOXOR(0,1,2,3);
encrypt.c: | ^~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: c256.h:135:13: error: incompatible types when assigning to type ‘uint32x4_t’ from type ‘int’
encrypt.c: 135 | t0h = vtrn2q_u32(x_##a,x_##b); \
encrypt.c: | ^~~~~~~~~~
encrypt.c: c256.h:148:5: note: in expansion of macro ‘ONEQUAD_TRANSPOSE_NOXOR’
encrypt.c: 148 | ONEQUAD_TRANSPOSE_NOXOR(0,1,2,3);
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
T:dolbeau/armv8crypto | 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 ‘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[6]’ {aka ‘long long unsigned int[6]’}
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: 30 | #include <arm_neon.h>
hs1.c: +++ |+#include <stdlib.h>
hs1.c: 31 | #endif
hs1.c: hs1.c:1033:30: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch]
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) |
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: 5, 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) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |