Implementation notes: amd64, bolero, crypto_aead/ifeedaes128n96v1

Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: ifeedaes128n96v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
25050815153 1055 17636988 1879 1040T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
29286419515 1056 17642678 1840 1104T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
36982413698 1055 17636836 1879 1056T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
4472525333 1055 17625478 1871 1104T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
51832014426 1055 17637900 1879 1056T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
5430525766 1055 17625108 1879 1040T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6295525515 1056 17626077 1832 1104T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
6342484437 1056 17623369 1816 1072T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
8469186968 1056 17628070 1840 1104T:refgcc_-march=native_-mtune=native_-O2_-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)