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
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
31412 | 15892 0 0 | 35022 856 856 | T:faster | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
35553 | 15044 0 0 | 33312 832 864 | T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
41783 | 11848 0 0 | 29184 832 848 | T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
45893 | 11560 0 0 | 27568 816 840 | T:faster | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
47322 | 6490 0 0 | 25574 856 856 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
51933 | 10132 0 0 | 31455 824 848 | T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
56311 | 6312 0 0 | 24632 832 864 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
61515 | 5240 0 0 | 22488 832 848 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
99838 | 5968 0 0 | 23320 832 848 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240821 | 20240808 |
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 (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:
Implementation | Compiler |
T:dolbeau/armv8crypto | clang -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:
Implementation | Compiler |
T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/armv8crypto | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:dolbeau/armv8crypto | gcc -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:
Implementation | Compiler |
T:faster | clang -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:
Implementation | Compiler |
T:faster | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -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:
Implementation | Compiler |
T:faster | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:faster | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:faster | gcc -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:
Implementation | Compiler |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |