Implementation notes: mipso32, gcc23, crypto_aead/romulusn

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_aead
Primitive: romulusn
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1559387017168 16 040986 416 832T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005
370422846000 16 027978 448 832T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005
439568145344 16 026633 464 832T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005
464785926352 16 029205 472 832T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005

Compiler output

Implementation: aadomn/opt32
Security model: constbranchindex
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
romulus_n.c: romulus_n.c: In function 'romulusn_verify_tag':
romulus_n.c: romulus_n.c:182:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
romulus_n.c: for(int i = 0; i < TAGBYTES; i++)
romulus_n.c: ^
romulus_n.c: romulus_n.c:182:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE aadomn/opt32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE aadomn/opt32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE aadomn/opt32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE aadomn/opt32

Compiler output

Implementation: T:fixslice_opt32
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
skinny128.c: skinny128.c: In function 'mixcolumns_0':
skinny128.c: skinny128.c:31:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
skinny128.c: for(int i = 0; i < 4; i++) {
skinny128.c: ^
skinny128.c: skinny128.c:31:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
skinny128.c: skinny128.c: In function 'mixcolumns_1':
skinny128.c: skinny128.c:46:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
skinny128.c: for(int i = 0; i < 4; i++) {
skinny128.c: ^
skinny128.c: skinny128.c: In function 'mixcolumns_2':
skinny128.c: skinny128.c:61:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
skinny128.c: for(int i = 0; i < 4; i++) {
skinny128.c: ^
skinny128.c: skinny128.c: In function 'mixcolumns_3':
skinny128.c: skinny128.c:76:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
skinny128.c: for(int i = 0; i < 4; i++) {
skinny128.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:fixslice_opt32
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:fixslice_opt32
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:fixslice_opt32
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:fixslice_opt32

Compiler output

Implementation: T:opt32t
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
common.c: common.c: In function 'pad':
common.c: common.c:16:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
common.c: for (int i = 0; i < len8; i++) {
common.c: ^
common.c: common.c:16:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
common.c: common.c: In function 'rho_ud16':
common.c: common.c:318:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
common.c: for (int i = 0; i < 16; i++) {
common.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt32t
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt32t
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt32t
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt32t

Namespace violations

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
romulus_n_reference.o ad_encryption T
romulus_n_reference.o block_cipher T
romulus_n_reference.o compose_tweakey T
romulus_n_reference.o g8A T
romulus_n_reference.o generate_tag T
romulus_n_reference.o irho T
romulus_n_reference.o lfsr_gf56 T
romulus_n_reference.o msg_encryption T
romulus_n_reference.o nonce_encryption T
romulus_n_reference.o pad T
romulus_n_reference.o reset_lfsr_gf56 T
romulus_n_reference.o rho T
romulus_n_reference.o rho_ad T
romulus_n_reference.o romulus_n T
romulus_n_reference.o romulus_n_decrypt T
romulus_n_reference.o romulus_n_encrypt T
skinny_reference.o AddConstants T
skinny_reference.o AddKey T
skinny_reference.o BLOCK_SIZE D
skinny_reference.o MixColumn T
skinny_reference.o N_RNDS D
skinny_reference.o P R
skinny_reference.o RC R
skinny_reference.o ShiftRows T
skinny_reference.o SubCell8 T
skinny_reference.o TWEAKEY_P R
skinny_reference.o TWEAKEY_SIZE D
skinny_reference.o enc T
skinny_reference.o sbox_8 R
skinny_reference.o skinny_128_384_plus_enc T

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref