Implementation notes: aarch64, pi3aplus, crypto_aead/pi64cipher256v2oneround
Computer: pi3aplus
Microarchitecture: aarch64; Cortex-A53 (410fd034)
Architecture: aarch64
CPU ID: 410fd034
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: pi64cipher256v2oneround
Test failure
error 111
crypto_aead_encrypt returns more than crypto_aead_ABYTES extra bytes
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (8.3.0) |
Compiler output
encrypt.c: encrypt.c:285:62: warning: unused variable 'ii1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^
encrypt.c: encrypt.c:262:53: warning: unused variable 't10' [-Wunused-variable]
encrypt.c: u_int64_t t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13;
encrypt.c: ^
encrypt.c: encrypt.c:262:58: warning: unused variable 't11' [-Wunused-variable]
encrypt.c: u_int64_t t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13;
encrypt.c: ^
encrypt.c: encrypt.c:285:42: warning: unused variable 'j1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^
encrypt.c: encrypt.c:268:32: warning: unused variable 'IS4' [-Wunused-variable]
encrypt.c: u_int64_t IS0, IS1, IS2, IS3, IS4, IS5, IS6, IS7, IS8, IS9, IS10, IS11, IS12, IS13, IS14, IS15;
encrypt.c: ^
encrypt.c: encrypt.c:262:41: warning: unused variable 't7' [-Wunused-variable]
encrypt.c: u_int64_t t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13;
encrypt.c: ^
encrypt.c: encrypt.c:285:31: warning: unused variable 'ii' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^
encrypt.c: encrypt.c:264:25: warning: unused variable 'x3' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:268:57: warning: unused variable 'IS9' [-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_pi64cipher256v2oneround_optimized_nonSSE_timingleaks_encrypt':
encrypt.c: encrypt.c:285:67: warning: unused variable 'ii2' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^~~
encrypt.c: encrypt.c:285:62: warning: unused variable 'ii1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^~~
encrypt.c: encrypt.c:285:42: warning: unused variable 'j1' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^~
encrypt.c: encrypt.c:285:31: warning: unused variable 'ii' [-Wunused-variable]
encrypt.c: unsigned long long i, j, jj, ii, b, i1, j1, a, mblocks, b1, ii1, ii2;
encrypt.c: ^~
encrypt.c: encrypt.c:281: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:268:92: warning: unused variable 'IS15' [-Wunused-variable]
encrypt.c: u_int64_t IS0, IS1, IS2, IS3, IS4, IS5, IS6, IS7, IS8, IS9, IS10, IS11, IS12, IS13, IS14, IS15;
encrypt.c: ^~~~
encrypt.c: encrypt.c:268:86: warning: unused variable 'IS14' [-Wunused-variable]
encrypt.c: u_int64_t IS0, IS1, IS2, IS3, IS4, IS5, IS6, IS7, IS8, IS9, IS10, IS11, IS12, IS13, IS14, IS15;
encrypt.c: ^~~~
encrypt.c: encrypt.c:268:80: warning: unused variable 'IS13' [-Wunused-variable]
encrypt.c: u_int64_t IS0, IS1, IS2, IS3, IS4, IS5, IS6, IS7, IS8, IS9, IS10, IS11, IS12, IS13, IS14, IS15;
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:134:49: warning: unused variable 'z1' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:134:53: warning: unused variable 'z2' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:134:41: warning: unused variable 'y3' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:134:45: warning: unused variable 'z0' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:148: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:134:57: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:134:21: warning: unused variable 'x2' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:134:17: warning: unused variable 'x1' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^
encrypt.c: encrypt.c:134:13: warning: unused variable 'x0' [-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_pi64cipher256v2oneround_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:148: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:144: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:136:51: warning: variable 'k64' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int64_t *c64, *m64, *ad64, *nsec64, *npub64, *k64;
encrypt.c: ^~~
encrypt.c: encrypt.c:136:42: warning: variable 'npub64' set but not used [-Wunused-but-set-variable]
encrypt.c: u_int64_t *c64, *m64, *ad64, *nsec64, *npub64, *k64;
encrypt.c: ^~~~~~
encrypt.c: encrypt.c:134:57: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^~
encrypt.c: encrypt.c:134:53: warning: unused variable 'z2' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^~
encrypt.c: encrypt.c:134:49: warning: unused variable 'z1' [-Wunused-variable]
encrypt.c: u_int64_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c: ^~
encrypt.c: encrypt.c:134:45: warning: unused variable 'z0' [-Wunused-variable]
encrypt.c: u_int64_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) |