Implementation notes: amd64, hertz, crypto_aead/qameleon6464tcmev1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: qameleon6464tcmev1
Test failure
error 111
crypto_aead_encrypt returns nonzero
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
encrypt.c: In function 'set_stage_in_tweak',
encrypt.c: inlined from 'crypto_aead_qameleon6464tcmev1_ref_timingleaks_encrypt' at encrypt.c:184:2:
encrypt.c: encrypt.c:87:26: warning: 'tweakl' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.c: 87 | tweak[0] = (tweak[0] & 0xf) ^ value;
encrypt.c: | ~~~~~^~~
encrypt.c: encrypt.c: In function 'crypto_aead_qameleon6464tcmev1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:103:36: note: 'tweakl' declared here
encrypt.c: 103 | unsigned char tweak[16], tweakl[32], k0[16], w0[16], k1[16], k1_M[16], w1 [16], whitekey[16];
encrypt.c: | ^~~~~~
encrypt.c: In function 'set_stage_in_tweak',
encrypt.c: inlined from 'crypto_aead_qameleon6464tcmev1_ref_timingleaks_decrypt' at encrypt.c:301:2:
encrypt.c: encrypt.c:87:26: warning: 'tweakl' may be used uninitialized [-Wmaybe-uninitialized]
encrypt.c: 87 | tweak[0] = (tweak[0] & 0xf) ^ value;
encrypt.c: | ~~~~~^~~
encrypt.c: encrypt.c: In function 'crypto_aead_qameleon6464tcmev1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:212:36: note: 'tweakl' declared here
encrypt.c: 212 | unsigned char tweak[16], tweakl[32], k0[16], w0[16], k1[16], k1_M[16],
encrypt.c: | ^~~~~~
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |