Test results for aarch64, pi3aplus, crypto_aead/jambusimon128v2

[Page version: 20240908 09:13:06]

Measurements for aarch64, pi3aplus, crypto_aead Test results for aarch64, pi3aplus, crypto_aead Test results for crypto_aead/jambusimon128v2
Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: jambusimon128v2

Test failure


error 111
crypto_aead_decrypt returns nonzero

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0)

Compiler output


Simon.c: Simon.c:21:9: warning: unused variable 'j' [-Wunused-variable]
Simon.c:         int i, j = 0;
Simon.c:                ^
Simon.c: Simon.c:38:9: warning: unused variable 'j' [-Wunused-variable]
Simon.c:         int i, j = 0;
Simon.c:                ^
Simon.c: Simon.c:59:9: warning: unused variable 'j' [-Wunused-variable]
Simon.c:         int i, j = 0;
Simon.c:                ^
Simon.c: Simon.c:83:22: warning: '&' within '^' [-Wbitwise-op-parentheses]
Simon.c:                 x = y ^ ROTL(1, x) & ROTL(8, x) ^ ROTL(2, x) ^ k[i];
Simon.c:                       ~ ~~~~~~~~~~~^~~~~~~~~~~~
Simon.c: Simon.c:83:22: note: place parentheses around the '&' expression to silence this warning
Simon.c:                 x = y ^ ROTL(1, x) & ROTL(8, x) ^ ROTL(2, x) ^ k[i];
Simon.c:                         ~~~~~~~~~~~^~~~~~~~~~~~
Simon.c: Simon.c:98:27: warning: '&' within '^' [-Wbitwise-op-parentheses]
Simon.c:                 x = y ^ ROTL2(1, x, 48) & ROTL2(8, x, 48) ^ ROTL2(2, x, 48) ^ k[i];
Simon.c:                       ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Simon.c: Simon.c:98:27: note: place parentheses around the '&' expression to silence this warning
Simon.c:                 x = y ^ ROTL2(1, x, 48) & ROTL2(8, x, 48) ^ ROTL2(2, x, 48) ^ k[i];
Simon.c:                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Simon.c: Simon.c:112:25: warning: '&' within '^' [-Wbitwise-op-parentheses]
Simon.c:                 x = y ^ ROTL64(x, 1) & ROTL64(x, 8) ^ ROTL64(x, 2) ^ k[i];
Simon.c:                       ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~
Simon.c: Simon.c:112:25: note: place parentheses around the '&' expression to silence this warning
Simon.c: ...
encrypt.c: encrypt.c:219:12: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]
encrypt.c:         if ((mlen & (PBS-1) != 0)) {
encrypt.c:                   ^~~~~~~~~~~~~~
encrypt.c: encrypt.c:219:12: note: place parentheses around the '!=' expression to silence this warning
encrypt.c:         if ((mlen & (PBS-1) != 0)) {
encrypt.c:                   ^
encrypt.c:                     (           )
encrypt.c: encrypt.c:219:12: note: place parentheses around the & expression to evaluate it first
encrypt.c:         if ((mlen & (PBS-1) != 0)) {
encrypt.c:                   ^
encrypt.c:              (             )
encrypt.c: encrypt.c:243:11: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:         uint8_t check = 0;
encrypt.c:                 ^
encrypt.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (4.2.1_Compatible_Clang_7.0.1_(tags/RELEASE_701/final))

Compiler output


Simon.c: Simon.c: In function 'SimonKeySetup64':
Simon.c: Simon.c:21:9: warning: unused variable 'j' [-Wunused-variable]
Simon.c:   int i, j = 0;
Simon.c:          ^
Simon.c: Simon.c: In function 'SimonKeySetup96':
Simon.c: Simon.c:38:9: warning: unused variable 'j' [-Wunused-variable]
Simon.c:   int i, j = 0;
Simon.c:          ^
Simon.c: Simon.c: In function 'SimonKeySetup128':
Simon.c: Simon.c:59:9: warning: unused variable 'j' [-Wunused-variable]
Simon.c:   int i, j = 0;
Simon.c:          ^
Simon.c: Simon.c: In function 'SimonEncrypt64':
Simon.c: Simon.c:83:22: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
Simon.c:    x = y ^ ROTL(1, x) & ROTL(8, x) ^ ROTL(2, x) ^ k[i];
Simon.c: Simon.c: In function 'SimonEncrypt96':
Simon.c: Simon.c:98:27: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
Simon.c:    x = y ^ ROTL2(1, x, 48) & ROTL2(8, x, 48) ^ ROTL2(2, x, 48) ^ k[i];
Simon.c: Simon.c: In function 'SimonEncrypt128':
Simon.c: Simon.c:112:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
Simon.c:     x = y ^ ROTL64(x, 1) & ROTL64(x, 8) ^ ROTL64(x, 2) ^ k[i];
encrypt.c: encrypt.c: In function 'crypto_aead_jambusimon128v2_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:219:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
encrypt.c:   if ((mlen & (PBS-1) != 0)) {
encrypt.c:             ^
encrypt.c: encrypt.c: In function 'crypto_aead_jambusimon128v2_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:243:11: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:    uint8_t check = 0;
encrypt.c:            ^~~~~

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