Implementation notes: amd64, hertz, crypto_aead/wheeshtv1mr3fr1t256
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: wheeshtv1mr3fr1t256
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
19122 | 6208 0 0 | 19776 788 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
21223 | 7970 0 0 | 25221 812 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
21356 | 6546 0 0 | 21757 812 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240809 | 20240808 |
Compiler output
encrypt.c: encrypt.c:311:50: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c: 311 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c: | ^ ~~~~~~~~~~~~~
encrypt.c: encrypt.c:311:50: note: use '|' for a bitwise operation
encrypt.c: 311 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c: | ^~
encrypt.c: | |
encrypt.c: encrypt.c:311:68: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c: 311 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c: | ^ ~~~~~~~~~~~~~
encrypt.c: encrypt.c:311:68: note: use '|' for a bitwise operation
encrypt.c: 311 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c: | ^~
encrypt.c: | |
encrypt.c: encrypt.c:311:85: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c: 311 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c: | ^ ~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:311:85: note: use '|' for a bitwise operation
encrypt.c: 311 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB || CRYPT_LASTBLOCK;
encrypt.c: | ^~
encrypt.c: | |
encrypt.c: encrypt.c:351:50: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
encrypt.c: 351 | aead_params.mode_bits = CRYPT_CIPHERTEXTBLOCK || CRYPT_HASNSEC || CRYPT_HASNPUB;
encrypt.c: | ^ ~~~~~~~~~~~~~
encrypt.c: encrypt.c:351:50: note: use '|' for a bitwise operation
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 3, 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)) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_wheeshtv1mr3fr1t256_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:287:18: warning: unused variable 'ad_block1' [-Wunused-variable]
encrypt.c: 287 | uint64_t ad_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c: | ^~~~~~~~~
encrypt.c: encrypt.c:285:18: warning: unused variable 'm_block1' [-Wunused-variable]
encrypt.c: 285 | 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_wheeshtv1mr3fr1t256_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:577:18: warning: unused variable 'ad_block1' [-Wunused-variable]
encrypt.c: 577 | uint64_t ad_block1 = 0LLU; // Obviously we'll never get this far, more for the sake of completeness
encrypt.c: | ^~~~~~~~~
encrypt.c: encrypt.c:575:18: warning: unused variable 'm_block1' [-Wunused-variable]
encrypt.c: 575 | 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: 3, 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) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
encrypt.o aead_auth_block T
encrypt.o aead_auth_fin T
encrypt.o aead_enc_block T
Number of similar (implementation,compiler) pairs: 3, 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) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |