Implementation notes: amd64, kizomba, crypto_aead/ifeedaes128n96v1

Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-1fc9cbf5
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: ifeedaes128n96v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
23595115153 1055 17636988 1879 1040T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
28635119626 1056 17642942 1840 1104T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
37525613666 1055 17636820 1879 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
51983914378 1055 17637820 1879 1104T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5221595766 1055 17625108 1879 1040T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5448995515 1056 17626077 1832 1104T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5507267080 1056 17628230 1840 1104T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5617225154 1055 17625422 1871 1104T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6003564436 1056 17623361 1816 1072T: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)