Implementation notes: amd64, hydra5, crypto_aead/wheeshtv1mr3fr1t128

Computer: hydra5
Microarchitecture: amd64; K10 32nm (300f10)
Architecture: amd64
CPU ID: AuthenticAMD-00300f10-178bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: wheeshtv1mr3fr1t128
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
281638629 0 025924 820 1088T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
285217693 0 022852 820 1088T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
297608345 0 024300 820 1088T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625
360846493 0 020239 796 1056T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062920240625

Compiler output


encrypt.c: encrypt.c:310:50: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                       ^  ~~~~~~~~~~~~~
encrypt.c: encrypt.c:310:50: note: use '|' for a bitwise operation
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                       ^~
encrypt.c:                                                                       |
encrypt.c: encrypt.c:310:68: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                         ^  ~~~~~~~~~~~~~
encrypt.c: encrypt.c:310:68: note: use '|' for a bitwise operation
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                         ^~
encrypt.c:                                                                                         |
encrypt.c: encrypt.c:310:85: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                                          ^  ~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:310:85: note: use '|' for a bitwise operation
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c:                                                                                                          ^~
encrypt.c:                                                                                                          |
encrypt.c: encrypt.c:350:50: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c:                         aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC  || CRYPT_HASNPUB;
encrypt.c:                                                                       ^  ~~~~~~~~~~~~~
encrypt.c: encrypt.c:350:50: note: use '|' for a bitwise operation
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_wheeshtv1mr3fr1t128_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:286:18: warning: unused variable 'ad_block1' [-Wunused-variable]
encrypt.c:   286 |         uint64_t ad_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~~
encrypt.c: encrypt.c:284:18: warning: unused variable 'm_block1' [-Wunused-variable]
encrypt.c:   284 |         uint64_t m_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_wheeshtv1mr3fr1t128_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:576:18: warning: unused variable 'ad_block1' [-Wunused-variable]
encrypt.c:   576 |         uint64_t ad_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c:       |                  ^~~~~~~~~
encrypt.c: encrypt.c:574:18: warning: unused variable 'm_block1' [-Wunused-variable]
encrypt.c:   574 |         uint64_t m_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
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)