Test results for aarch64, pi3aplus, crypto_aead/pi16cipher128v1
[Page version: 20240908 09:13:06]
Measurements for aarch64, pi3aplus, crypto_aead
Test results for aarch64, pi3aplus, crypto_aead
Test results for crypto_aead/pi16cipher128v1
Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: pi16cipher128v1
Test failure
error 111
crypto_aead_decrypt returns nonzero
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
Compiler output
encrypt.c: encrypt.c:362:42: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c: InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c: ~~ ^
encrypt.c: encrypt.c:488:68: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c: c[CRYPTO_NSECBYTES+b+i] = InternalState8[i1] = InternalState8[i1++] ^ m[b+i];
encrypt.c: ~~ ^
encrypt.c: encrypt.c:250:44: warning: unused variable 'z0' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:266:42: warning: unused variable 'j1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a;
encrypt.c: ^
encrypt.c: encrypt.c:250:52: warning: unused variable 'z2' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:250:56: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:250:48: warning: unused variable 'z1' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:250:12: warning: unused variable 'x0' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:250:16: warning: unused variable 'x1' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:optimized_nonSSE | clang -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
encrypt.c: encrypt.c: In function 'crypto_aead_pi16cipher128v1_optimized_nonSSE_timingleaks_encrypt':
encrypt.c: encrypt.c:362:42: warning: operation on 'i1' may be undefined [-Wsequence-point]
encrypt.c: InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c: ~~^~
encrypt.c: encrypt.c:488:68: warning: operation on 'i1' may be undefined [-Wsequence-point]
encrypt.c: c[CRYPTO_NSECBYTES+b+i] = InternalState8[i1] = InternalState8[i1++] ^ m[b+i];
encrypt.c: ~~^~
encrypt.c: encrypt.c:266:42: warning: unused variable 'j1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a;
encrypt.c: ^~
encrypt.c: encrypt.c:266:31: warning: unused variable 'ii' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a;
encrypt.c: ^~
encrypt.c: encrypt.c:262:31: warning: variable 'CommonInternalState8' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int8_t *InternalState8, *CommonInternalState8, *tempTag8;
encrypt.c: ^~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:252:50: warning: variable 'k16' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int16_t *c16, *m16, *ad16, *nsec16, *npub16, *k16;
encrypt.c: ^~~
encrypt.c: encrypt.c:252:41: warning: variable 'npub16' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int16_t *c16, *m16, *ad16, *nsec16, *npub16, *k16;
encrypt.c: ^~~~~~
encrypt.c: encrypt.c:250:56: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^~
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:optimized_nonSSE | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:optimized_nonSSE | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:optimized_nonSSE | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:optimized_nonSSE | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
Compiler output
encrypt.c: encrypt.c:248:42: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c: InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c: ~~ ^
encrypt.c: encrypt.c:374:68: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c: c[CRYPTO_NSECBYTES+b+i] = InternalState8[i1] = InternalState8[i1++] ^ m[b+i];
encrypt.c: ~~ ^
encrypt.c: encrypt.c:136:28: warning: unused variable 'y0' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:136:20: warning: unused variable 'x2' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:136:32: warning: unused variable 'y1' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:136:36: warning: unused variable 'y2' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:136:12: warning: unused variable 'x0' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:136:24: warning: unused variable 'x3' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:136:16: warning: unused variable 'x1' [-Wunused-variable]
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -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
encrypt.c: encrypt.c: In function 'crypto_aead_pi16cipher128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:248:42: warning: operation on 'i1' may be undefined [-Wsequence-point]
encrypt.c: InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c: ~~^~
encrypt.c: encrypt.c:374:68: warning: operation on 'i1' may be undefined [-Wsequence-point]
encrypt.c: c[CRYPTO_NSECBYTES+b+i] = InternalState8[i1] = InternalState8[i1++] ^ m[b+i];
encrypt.c: ~~^~
encrypt.c: encrypt.c:152:42: warning: unused variable 'j1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a;
encrypt.c: ^~
encrypt.c: encrypt.c:148:31: warning: variable 'CommonInternalState8' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int8_t *InternalState8, *CommonInternalState8, *tempTag8;
encrypt.c: ^~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:138:50: warning: variable 'k16' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int16_t *c16, *m16, *ad16, *nsec16, *npub16, *k16;
encrypt.c: ^~~
encrypt.c: encrypt.c:138:41: warning: variable 'npub16' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int16_t *c16, *m16, *ad16, *nsec16, *npub16, *k16;
encrypt.c: ^~~~~~
encrypt.c: encrypt.c:136:56: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^~
encrypt.c: encrypt.c:136:52: warning: unused variable 'z2' [-Wunused-variable]
encrypt.c: u_int16_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^~
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |