Implementation notes: amd64, cubi10, crypto_aead/ifeedaes128n104v1
Computer: cubi10
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: ifeedaes128n104v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
260375 | 13947 1055 176 | 36224 1876 1208 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
261021 | 13623 1055 176 | 36656 1876 1208 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
293593 | 20325 1056 176 | 43184 1844 1272 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
377874 | 12397 1055 176 | 35328 1876 1208 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
528850 | 4918 1055 176 | 24646 1868 1208 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
538819 | 6793 1056 176 | 27704 1844 1272 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
547808 | 5085 1056 176 | 25423 1836 1272 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
563939 | 5176 1055 176 | 24726 1868 1208 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
607407 | 4211 1056 176 | 22979 1820 1240 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240718 | 20240716 |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_ifeedaes128n104v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:407:19: warning: variable 'LastCiphertextBlock' set but not used [-Wunused-but-set-variable]
encrypt.c: 407 | unsigned char LastCiphertextBlock[16], PaddedBlock[16];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'keyschedule':
encrypt.c: encrypt.c:52:11: warning: 'KN' may be used uninitialized in this function [-Wmaybe-uninitialized]
encrypt.c: 52 | for(i = KN / 4; i < (roundNum + 1) * 4; i++)
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 (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 -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_aead_ifeedaes128n104v1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:407:19: warning: variable 'LastCiphertextBlock' set but not used [-Wunused-but-set-variable]
encrypt.c: 407 | unsigned char LastCiphertextBlock[16], PaddedBlock[16];
encrypt.c: | ^~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'keyschedule':
encrypt.c: encrypt.c:33:9: warning: 'KN' may be used uninitialized in this function [-Wmaybe-uninitialized]
encrypt.c: 33 | int KN, i;
encrypt.c: | ^~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
encrypt.o AES128Enc T
encrypt.o RC D
encrypt.o RoundKey B
encrypt.o Times2 T
encrypt.o keyschedule T
encrypt.o sbox D
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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) |