Implementation notes: amd64, hydra7, crypto_aead/jambuaes128v2

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: jambuaes128v2

Test failure


error 111
crypto_aead_decrypt returns nonzero

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

Compiler output


encrypt.c: encrypt.c: In function 'jambu_dec_aut_msg_step':
encrypt.c: encrypt.c:228:22: warning: unused variable 'tmp1' [-Wunused-variable]
encrypt.c:   228 |         __m128i tmp, tmp1;
encrypt.c:       |                      ^~~~
encrypt.c: encrypt.c: In function 'crypto_aead_jambuaes128v2_aesni_timingleaks_encrypt':
encrypt.c: encrypt.c:270:48: warning: unused variable 'partialblockciphertext' [-Wunused-variable]
encrypt.c:   270 |         unsigned char partialblockplaintext[8],partialblockciphertext[8];
encrypt.c:       |                                                ^~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:270:23: warning: unused variable 'partialblockplaintext' [-Wunused-variable]
encrypt.c:   270 |         unsigned char partialblockplaintext[8],partialblockciphertext[8];
encrypt.c:       |                       ^~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:269:25: warning: unused variable 'j' [-Wunused-variable]
encrypt.c:   269 |         unsigned long i,j;
encrypt.c:       |                         ^
encrypt.c: encrypt.c: In function 'crypto_aead_jambuaes128v2_aesni_timingleaks_decrypt':
encrypt.c: encrypt.c:346:23: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:   346 |         unsigned char check = 0;
encrypt.c:       |                       ^~~~~
encrypt.c: encrypt.c:345:23: warning: unused variable 'tag' [-Wunused-variable]
encrypt.c:   345 |         unsigned char tag[8];
encrypt.c:       |                       ^~~
encrypt.c: encrypt.c:344:49: warning: unused variable 'partialblockciphertext' [-Wunused-variable]
encrypt.c:   344 |         unsigned char partialblockplaintext[16],partialblockciphertext[16];
encrypt.c:       |                                                 ^~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:344:23: warning: unused variable 'partialblockplaintext' [-Wunused-variable]
encrypt.c: ...

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

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_jambuaes128v2_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:267:17: warning: unused variable 'check' [-Wunused-variable]
encrypt.c:   267 |         uint8_t check = 0;
encrypt.c:       |                 ^~~~~

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