Test results for armeabi, berry2, crypto_aead/pi32cipher256v1
[Page version: 20241120 00:22:57]
Measurements for armeabi, berry2, crypto_aead
Test results for armeabi, berry2, crypto_aead
Test results for crypto_aead/pi32cipher256v1
Computer: berry2
Microarchitecture: armeabi; Cortex-A7 (410fc075)
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20240909
Operation: crypto_aead
Primitive: pi32cipher256v1
Compiler output
encrypt.c: encrypt.c:31:33: warning: multi-line comment [-Wcomment]
encrypt.c: 31 | #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: 354 | 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: 468 | 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: 266 | 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: 266 | 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: 262 | 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: 252 | 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: 252 | u_int32_t *c32, *m32, *ad32, *nsec32, *npub32, *k32;
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 (10.2.1_20210110) |
T:optimized_nonSSE | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:optimized_nonSSE | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:optimized_nonSSE | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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: 240 | 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: 354 | 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: 152 | 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: 148 | 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: 138 | 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: 138 | 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: 136 | 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: 136 | 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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |