Test results for aarch64, pi5, crypto_aead/hs1sivhiv2

[Page version: 20250609 19:52:35]

Measurements for aarch64, pi5, crypto_aead Test results for aarch64, pi5, crypto_aead Test results for crypto_aead/hs1sivhiv2
Computer: pi5
Microarchitecture: aarch64; Cortex-A76 (414fd0b1)
Architecture: aarch64
CPU ID: 414fd0b1
SUPERCOP version: 20250415
Operation: crypto_aead
Primitive: hs1sivhiv2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2005012980 0 030336 784 864T:fastergcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
2133414208 0 031520 784 864T:dolbeau/armv8cryptogcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
214448888 0 025328 784 864T:dolbeau/armv8cryptogcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
220889380 0 028329 840 856T:dolbeau/armv8cryptoclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
2224815892 0 034865 840 856T:fasterclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
248469464 0 025935 776 848T:dolbeau/armv8cryptogcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
3114511308 0 027872 784 848T:fastergcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
389526490 0 025433 840 856T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
429696320 0 023696 784 864T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
432334976 0 021464 784 864T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415
691735480 0 022072 784 848T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025052220250415

Test failure


error 111
crypto_aead_decrypt returns nonzero

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:dolbeau/armv8cryptogcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:fastergcc -march=native -mtune=native -O2 -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)

Test failure


error 111
crypto_aead_decrypt allows trivial forgeries

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

Compiler output


encrypt.c: In file included from encrypt.c:192:
encrypt.c: ./c256.h:70:14: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   uint32x4_t t_15;
encrypt.c:              ^
encrypt.c: ./c256.h:69:14: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:   uint32x4_t t_14;
encrypt.c:              ^
encrypt.c: ./c256.h:68:14: warning: unused variable 't_13' [-Wunused-variable]
encrypt.c:   uint32x4_t t_13;
encrypt.c:              ^
encrypt.c: ./c256.h:67:14: warning: unused variable 't_12' [-Wunused-variable]
encrypt.c:   uint32x4_t t_12;
encrypt.c:              ^
encrypt.c: ./c256.h:62:14: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c:   uint32x4_t t_7;
encrypt.c:              ^
encrypt.c: ./c256.h:61:14: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c:   uint32x4_t t_6;
encrypt.c:              ^
encrypt.c: ./c256.h:60:14: warning: unused variable 't_5' [-Wunused-variable]
encrypt.c:   uint32x4_t t_5;
encrypt.c:              ^
encrypt.c: ./c256.h:59:14: warning: unused variable 't_4' [-Wunused-variable]
encrypt.c:   uint32x4_t t_4;
encrypt.c:              ^
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:70:14: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:    70 |   uint32x4_t t_15;
encrypt.c:       |              ^~~~
encrypt.c: c256.h:69:14: warning: unused variable 't_14' [-Wunused-variable]
encrypt.c:    69 |   uint32x4_t t_14;
encrypt.c:       |              ^~~~
encrypt.c: c256.h:68:14: warning: unused variable 't_13' [-Wunused-variable]
encrypt.c:    68 |   uint32x4_t t_13;
encrypt.c:       |              ^~~~
encrypt.c: c256.h:67:14: warning: unused variable 't_12' [-Wunused-variable]
encrypt.c:    67 |   uint32x4_t t_12;
encrypt.c:       |              ^~~~
encrypt.c: c256.h:62:14: warning: unused variable 't_7' [-Wunused-variable]
encrypt.c:    62 |   uint32x4_t t_7;
encrypt.c:       |              ^~~
encrypt.c: c256.h:61:14: warning: unused variable 't_6' [-Wunused-variable]
encrypt.c:    61 |   uint32x4_t t_6;
encrypt.c:       |              ^~~
encrypt.c: c256.h:60:14: warning: unused variable 't_5' [-Wunused-variable]
encrypt.c:    60 |   uint32x4_t t_5;
encrypt.c:       |              ^~~
encrypt.c: c256.h:59:14: warning: unused variable 't_4' [-Wunused-variable]
encrypt.c:    59 |   uint32x4_t t_4;
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 long)' [-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.

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 '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:  1033 |         unsigned char *tmp = malloc(abytes);
hs1.c:       |                              ^~~~~~
hs1.c: hs1.c:1033:30: note: include '<stdlib.h>' or provide a declaration of 'malloc'
hs1.c: hs1.c:1037:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
hs1.c:  1037 |         free(tmp);
hs1.c:       |         ^~~~
hs1.c: hs1.c:1037:9: note: include '<stdlib.h>' or provide a declaration of 'free'
hs1.c: hs1.c:1037:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
hs1.c: hs1.c:1037:9: note: include '<stdlib.h>' or provide a declaration of 'free'
hs1.c: hs1.c: In function 'chacha_blocks':
hs1.c: hs1.c:136:5: warning: 'ChaCha20_ctr32' reading 16 bytes from a region of size 4 [-Wstringop-overread]
hs1.c:   136 |     ChaCha20_ctr32(out, in, len, (void *)chacha_state->key,
hs1.c:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hs1.c:   137 |         (void *)&chacha_state->counter, chacha_state->rounds);
hs1.c:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hs1.c: hs1.c:136:5: note: referencing argument 5 of type 'const unsigned int[4]'
hs1.c: ...

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


chacha_moon.o ChaCha20_ctr32 T
hs1.o chacha_blocks T
hs1.o hash_finalize T
hs1.o hash_step T
hs1.o hs1 T
hs1.o hs1_bzero T
hs1.o hs1_gen_siv T
hs1.o hs1_memcpy T
hs1.o hs1_setup T
hs1.o hs1siv_decrypt T
hs1.o hs1siv_encrypt T
hs1.o poly_finalize T

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:fasterclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
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)

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:
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)