Implementation notes: mipso32, gcc23, crypto_aead/sestatetweaes128v1

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_aead
Primitive: sestatetweaes128v1

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c: In function 'xor_bytes':
encrypt.c: encrypt.c:34:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for(u8 i=0; i < num; i++)
encrypt.c: ^
encrypt.c: encrypt.c:34:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
encrypt.c: encrypt.c: In function 'fcbc_star':
encrypt.c: encrypt.c:70:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for(u64 j=0; j<in_blocks-1; j++)
encrypt.c: ^
encrypt.c: encrypt.c: In function 'ofb':
encrypt.c: encrypt.c:158:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
encrypt.c: for(u8 i=0; i<in_blocks-1; i++)
encrypt.c: ^
encrypt.c: encrypt.c: In function 'crypto_aead_sestatetweaes128v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:212:15: warning: passing argument 2 of 'mac' from incompatible pointer type
encrypt.c: mac(&tag[0], &round_keys[0], npub, ad, adlen, ad_blocks, pt, ptlen, pt_blocks);
encrypt.c: ^
encrypt.c: encrypt.c:104:13: note: expected 'const u8 (*)[16]' but argument is of type 'u8 (*)[16]'
encrypt.c: static void mac(u8 *tag, const u8 (*round_keys)[16], const u8 *nonce, const u8 *ad, const u64 adlen, const u64 ad_blocks, const u8 *pt, const u64 ptlen, const u64 pt_blocks)
encrypt.c: ^
encrypt.c: encrypt.c:217:18: warning: passing argument 3 of 'ofb' from incompatible pointer type
encrypt.c: ofb(ct, ctlen, &round_keys[0], &tag[0], pt, ptlen, pt_blocks);
encrypt.c: ^
encrypt.c: encrypt.c:147:13: note: expected 'const u8 (*)[16]' but argument is of type 'u8 (*)[16]'
encrypt.c: static void ofb(u8 *out, u64 *outlen, const u8 (*round_keys)[16], const u8 *iv, const u8 *in, const u64 inlen, const u64 in_blocks)
encrypt.c: ...

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