Test results for aarch64, pi3aplus, crypto_aead/pi64cipher128v1

[Page version: 20240908 09:13:06]

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

Test failure


error 111
crypto_aead_decrypt returns nonzero

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:optimized_nonSSEgcc -march=native -mtune=native -O -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)

Compiler output


encrypt.c: encrypt.c:346:42: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c:                  InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c:                                 ~~                     ^
encrypt.c: encrypt.c:448: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:251: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:251: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:251: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:251: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:251:37: warning: unused variable 'y2' [-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:251:29: warning: unused variable 'y0' [-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:251:33: warning: unused variable 'y1' [-Wunused-variable]
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:optimized_nonSSEclang -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_pi64cipher128v1_optimized_nonSSE_timingleaks_encrypt':
encrypt.c: encrypt.c:346: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:448: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:265: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:265: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:261: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:253: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:253: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:251: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: ...

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

Compiler output


encrypt.c: encrypt.c:231:42: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c:                  InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c:                                 ~~                     ^
encrypt.c: encrypt.c:333: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:13: warning: unused variable 'x0' [-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:136: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:136: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:136: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:136:37: warning: unused variable 'y2' [-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:150: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:136:41: warning: unused variable 'y3' [-Wunused-variable]
encrypt.c: ...

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


encrypt.c: encrypt.c: In function 'crypto_aead_pi64cipher128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:231: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:333: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:150: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:146: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: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:138: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:136: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:136: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: ...

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)