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
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
992496561 0 023633 392 824T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024110120241022
1036946350 0 025810 420 824T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024110120241022
1088354365 0 020709 392 824T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024110120241022
1158392758 0 015837 384 816T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024110120241022
1539373877 0 018841 392 816T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024110120241022

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:
ImplementationCompiler
T:dolbeau/armv8cryptoclang -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:
ImplementationCompiler
T:dolbeau/armv8cryptogcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:dolbeau/armv8cryptogcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:dolbeau/armv8cryptogcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:dolbeau/armv8cryptogcc -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:
ImplementationCompiler
T:fasterclang -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:
ImplementationCompiler
T:fastergcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:fastergcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:fastergcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:fastergcc -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:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)