Test results for aarch64, pi4b, crypto_aead/hs1sivhiv2

[Page version: 20241024 06:46:09]

Measurements for aarch64, pi4b, crypto_aead Test results for aarch64, pi4b, crypto_aead Test results for crypto_aead/hs1sivhiv2
Computer: pi4b
Microarchitecture: aarch64; Cortex-A72 (410fd083)
Architecture: aarch64
CPU ID: 410fd083
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: hs1sivhiv2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
3141215892 0 035022 856 856T:fasterclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
3555315044 0 033312 832 864T:dolbeau/armv8cryptogcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
4178311848 0 029184 832 848T:fastergcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
4589311560 0 027568 816 840T:fastergcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
473226490 0 025574 856 856T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
5193310132 0 031455 824 848T:dolbeau/armv8cryptogcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
563116312 0 024632 832 864T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
615155240 0 022488 832 848T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808
998385968 0 023320 832 848T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024082120240808

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 (11.4.0)

Compiler output


encrypt.c: In file included from encrypt.c:192:
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:68:14: warning: unused variable 't_13' [-Wunused-variable]
encrypt.c:   uint32x4_t t_13;
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: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:70:14: warning: unused variable 't_15' [-Wunused-variable]
encrypt.c:   uint32x4_t t_15;
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 (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: In file included from encrypt.c:192:
encrypt.c: encrypt.c: 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 (11.4.0)
T:dolbeau/armv8cryptogcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:dolbeau/armv8cryptogcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:dolbeau/armv8cryptogcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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 (Ubuntu_Clang_14.0.0)

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 *'
hs1.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:fastergcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:fastergcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:fastergcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:fastergcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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 (Ubuntu_Clang_14.0.0)
T:fastergcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:fastergcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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 (Ubuntu_Clang_14.0.0)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)