Test results for aarch64, pi3aplus, crypto_aead/pi32cipher256v1

[Page version: 20240908 09:13:06]

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

Test failure


error 111
crypto_aead_decrypt returns nonzero

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

Compiler output


encrypt.c: encrypt.c:354:42: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c:                  InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c:                                 ~~                     ^
encrypt.c: encrypt.c:468: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:36: warning: unused variable 'y2' [-Wunused-variable]
encrypt.c:  u_int32_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c:                                    ^
encrypt.c: encrypt.c:250:32: warning: unused variable 'y1' [-Wunused-variable]
encrypt.c:  u_int32_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c:                                ^
encrypt.c: encrypt.c:250:44: warning: unused variable 'z0' [-Wunused-variable]
encrypt.c:  u_int32_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c:                                            ^
encrypt.c: encrypt.c:250:40: warning: unused variable 'y3' [-Wunused-variable]
encrypt.c:  u_int32_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_int32_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: ...

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:31:33: warning: multi-line comment [-Wcomment]
encrypt.c:  #define bSMN CRYPTO_NSECBYTES/W // Offset for storing ciphertext after encrypted SMN\
encrypt.c:                                  ^
encrypt.c: encrypt.c: In function 'crypto_aead_pi32cipher256v1_optimized_nonSSE_timingleaks_encrypt':
encrypt.c: encrypt.c:354: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:468: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 'k32' set but not used [-Wunused-but-set-variable]
encrypt.c:   u_int32_t *c32, *m32, *ad32, *nsec32, *npub32, *k32;
encrypt.c:                                                   ^~~
encrypt.c: encrypt.c:252:41: warning: variable 'npub32' set but not used [-Wunused-but-set-variable]
encrypt.c:   u_int32_t *c32, *m32, *ad32, *nsec32, *npub32, *k32;
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:240:42: warning: unsequenced modification and access to 'i1' [-Wunsequenced]
encrypt.c:                  InternalState8[i1] = InternalState8[i1++] ^ ad[b+i];
encrypt.c:                                 ~~                     ^
encrypt.c: encrypt.c:354: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:52: warning: unused variable 'z2' [-Wunused-variable]
encrypt.c:  u_int32_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c:                                                    ^
encrypt.c: encrypt.c:136:56: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c:  u_int32_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_int32_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_int32_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
encrypt.c:                        ^
encrypt.c: encrypt.c:136:28: warning: unused variable 'y0' [-Wunused-variable]
encrypt.c:  u_int32_t x0, x1, x2, x3, y0, y1, y2, y3, z0, z1, z2, z3;
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:136:16: warning: unused variable 'x1' [-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_pi32cipher256v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:240: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:354: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 'k32' set but not used [-Wunused-but-set-variable]
encrypt.c:   u_int32_t *c32, *m32, *ad32, *nsec32, *npub32, *k32;
encrypt.c:                                                   ^~~
encrypt.c: encrypt.c:138:41: warning: variable 'npub32' set but not used [-Wunused-but-set-variable]
encrypt.c:   u_int32_t *c32, *m32, *ad32, *nsec32, *npub32, *k32;
encrypt.c:                                          ^~~~~~
encrypt.c: encrypt.c:136:56: warning: unused variable 'z3' [-Wunused-variable]
encrypt.c:   u_int32_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_int32_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)