Implementation notes: amd64, samba, crypto_aead/ifeedaes128n104v1

Computer: samba
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: ifeedaes128n104v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
23768115121 1055 17637395 1908 1216T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
28654019722 1056 17643557 1868 1280T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
37680713634 1055 17637243 1908 1216T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
51993714362 1055 17638259 1908 1280T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5492915144 1055 17625861 1900 1280T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5629115750 1055 17625547 1908 1216T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5730247080 1056 17628749 1868 1280T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5959615499 1056 17626580 1860 1280T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6077694418 1056 17623816 1844 1248T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

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 [-Wmaybe-uninitialized]
encrypt.c:    52 |     for(i = KN / 4; i < (roundNum + 1) * 4; i++)
encrypt.c:       |         ~~^~~~~~~~

Number of similar (implementation,compiler) pairs: 2, 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)

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:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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:
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)
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)