Implementation notes: amd64, samba, crypto_aead/ifeedaes128n96v1

Computer: samba
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: ifeedaes128n96v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
23726215153 1055 17637427 1908 1216T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
28734319626 1056 17643429 1868 1280T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
37665513666 1055 17637259 1908 1216T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
52432314378 1055 17638259 1908 1280T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5304565766 1055 17625547 1908 1216T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5504575154 1055 17625861 1900 1280T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5581987080 1056 17628717 1868 1280T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5648725515 1056 17626564 1860 1280T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6119594436 1056 17623848 1844 1248T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_ifeedaes128n96v1_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_ifeedaes128n96v1_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_ifeedaes128n96v1_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)