Implementation notes: mipso32, gcc23, crypto_aead/romulusm

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20221122
Operation: crypto_aead
Primitive: romulusm
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2003356225552 16 049305 408 832T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005
489894608048 16 030021 448 832T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005
580631126960 16 028244 464 832T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2022101020221005
611731668432 16 031280 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_m.c: romulus_m.c: In function 'romulusm_process_ad':
romulus_m.c: romulus_m.c:124:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
romulus_m.c: for(int i =0; i < (int)adlen; i++)
romulus_m.c: ^
romulus_m.c: romulus_m.c:124:13: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
romulus_m.c: romulus_m.c:173:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
romulus_m.c: for(int i =0; i < (int)mlen; i++)
romulus_m.c: ^
romulus_m.c: romulus_m.c: In function 'romulusm_process_msg':
romulus_m.c: romulus_m.c:219:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
romulus_m.c: for(int i = 0; i < (int)inlen; i++) {
romulus_m.c: ^
romulus_m.c: romulus_m.c: In function 'romulusm_verify_tag':
romulus_m.c: romulus_m.c:248:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
romulus_m.c: for(int i = 0; i < TAGBYTES; i++)
romulus_m.c: ^

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
decrypt.c: decrypt.c: In function 'crypto_aead_romulusm_fixslice_opt32_timingleaks_decrypt':
decrypt.c: decrypt.c:54:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
decrypt.c: for(int i = 0; i < (int)tmp_mlen; i++) {
decrypt.c: ^
decrypt.c: decrypt.c:54:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
decrypt.c: decrypt.c:103:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
decrypt.c: for(int i =0; i < (int)adlen; i++)
decrypt.c: ^
decrypt.c: decrypt.c:158:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
decrypt.c: for(int i =0; i < (int)clen; i++)
decrypt.c: ^
decrypt.c: decrypt.c:173:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
decrypt.c: for(int i = 0; i < TAGBYTES; i++)
decrypt.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
encrypt.c: encrypt.c: In function 'pad':
encrypt.c: encrypt.c:22:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for (int i = 0; i < len8; i++) {
encrypt.c: ^
encrypt.c: encrypt.c:22:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
encrypt.c: encrypt.c: In function 'rho_ud16':
encrypt.c: encrypt.c:324:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for (int i = 0; i < 16; i++) {
encrypt.c: ^
encrypt.c: encrypt.c: In function 'irho_ud16':
encrypt.c: encrypt.c:476:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for (int i = 0; i < len8; i++) {
encrypt.c: ^
encrypt.c: encrypt.c:480:12: error: redefinition of 'i'
encrypt.c: for (int i = 0; i < 16; i++) {
encrypt.c: ^
encrypt.c: encrypt.c:476:12: note: previous definition of 'i' was here
encrypt.c: for (int i = 0; i < len8; i++) {
encrypt.c: ^
encrypt.c: encrypt.c:480:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for (int i = 0; i < 16; i++) {
encrypt.c: ^
encrypt.c: encrypt.c: In function 'crypto_aead_romulusm_opt32t_timingleaks_decrypt':
encrypt.c: encrypt.c:1237:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for (int i = 0; i < 16; i++) {
encrypt.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_m_reference.o ad2msg_encryption T
romulus_m_reference.o ad_encryption T
romulus_m_reference.o block_cipher T
romulus_m_reference.o compose_tweakey T
romulus_m_reference.o g8A T
romulus_m_reference.o generate_tag T
romulus_m_reference.o irho T
romulus_m_reference.o lfsr_gf56 T
romulus_m_reference.o msg_decryption T
romulus_m_reference.o msg_encryption T
romulus_m_reference.o nonce_encryption T
romulus_m_reference.o pad T
romulus_m_reference.o reset_lfsr_gf56 T
romulus_m_reference.o rho T
romulus_m_reference.o rho_ad T
romulus_m_reference.o romulus_m_decrypt T
romulus_m_reference.o romulus_m_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