Implementation notes: mipso32, gcc23, crypto_aead/hyenav1

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

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 'crypto_aead_hyenav1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:348:48: warning: passing argument 5 of 'INIT' from incompatible pointer type
encrypt.c: INIT(&HYENA_State[0], &Delta[0], npub, cntrl, &round_keys[0]);
encrypt.c: ^
encrypt.c: encrypt.c:200:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void INIT(u8 *State, u8 * Delta, const u8 *npub, const u32 cntrl, const u8 (*round_keys)[32])
encrypt.c: ^
encrypt.c: encrypt.c:352:54: warning: passing argument 5 of 'PROC_AD' from incompatible pointer type
encrypt.c: PROC_AD(&HYENA_State[0], &Delta[0], ad, adlen, &round_keys[0]);
encrypt.c: ^
encrypt.c: encrypt.c:220:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void PROC_AD(u8 *State, u8 * Delta, const u8 *input, u64 inputlen, const u8 (*round_keys)[32])
encrypt.c: ^
encrypt.c: encrypt.c:355:64: warning: passing argument 7 of 'Proc_TXT' from incompatible pointer type
encrypt.c: Proc_TXT(&HYENA_State[0], &Delta[0], ct, ctlen, pt, ptlen, &round_keys[0], 0);
encrypt.c: ^
encrypt.c: encrypt.c:256:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void Proc_TXT(u8 *State, u8 *Delta, u8 *output, u64 *outputlen, const u8 *input, u64 inputlen, const u8 (*round_keys)[32], const u32 direction)
encrypt.c: ^
encrypt.c: encrypt.c:361:27: warning: passing argument 2 of 'Tag_Gen' from incompatible pointer type
encrypt.c: Tag_Gen(&HYENA_State[0], &round_keys[0]);
encrypt.c: ^
encrypt.c: encrypt.c:302:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void Tag_Gen(u8 *State, const u8 (*round_keys)[32])
encrypt.c: ^
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 3, 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 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c: In function 'crypto_aead_hyenav1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:348:48: warning: passing argument 5 of 'INIT' from incompatible pointer type
encrypt.c: INIT(&HYENA_State[0], &Delta[0], npub, cntrl, &round_keys[0]);
encrypt.c: ^
encrypt.c: encrypt.c:200:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void INIT(u8 *State, u8 * Delta, const u8 *npub, const u32 cntrl, const u8 (*round_keys)[32])
encrypt.c: ^
encrypt.c: encrypt.c:352:54: warning: passing argument 5 of 'PROC_AD' from incompatible pointer type
encrypt.c: PROC_AD(&HYENA_State[0], &Delta[0], ad, adlen, &round_keys[0]);
encrypt.c: ^
encrypt.c: encrypt.c:220:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void PROC_AD(u8 *State, u8 * Delta, const u8 *input, u64 inputlen, const u8 (*round_keys)[32])
encrypt.c: ^
encrypt.c: encrypt.c:355:64: warning: passing argument 7 of 'Proc_TXT' from incompatible pointer type
encrypt.c: Proc_TXT(&HYENA_State[0], &Delta[0], ct, ctlen, pt, ptlen, &round_keys[0], 0);
encrypt.c: ^
encrypt.c: encrypt.c:256:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void Proc_TXT(u8 *State, u8 *Delta, u8 *output, u64 *outputlen, const u8 *input, u64 inputlen, const u8 (*round_keys)[32], const u32 direction)
encrypt.c: ^
encrypt.c: encrypt.c:361:27: warning: passing argument 2 of 'Tag_Gen' from incompatible pointer type
encrypt.c: Tag_Gen(&HYENA_State[0], &round_keys[0]);
encrypt.c: ^
encrypt.c: encrypt.c:302:6: note: expected 'const u8 (*)[32]' but argument is of type 'u8 (*)[32]'
encrypt.c: void Tag_Gen(u8 *State, const u8 (*round_keys)[32])
encrypt.c: ^
encrypt.c: ...
gift-128.c: gift-128.c: In function 'bytes_to_nibbles':
gift-128.c: gift-128.c:72:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: for(u8 i=0; i<src_len; i++)
gift-128.c: ^
gift-128.c: gift-128.c:72:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
gift-128.c: gift-128.c: In function 'nibbles_to_bytes':
gift-128.c: gift-128.c:88:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: for(u8 i=0; i<dest_len; i++)
gift-128.c: ^
gift-128.c: gift-128.c: In function 'nibbles_to_bits':
gift-128.c: gift-128.c:103:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: for(u8 i=0; i<src_len; i++)
gift-128.c: ^
gift-128.c: gift-128.c:105:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: for(u8 j=0; j<4; j++)
gift-128.c: ^
gift-128.c: gift-128.c: In function 'bits_to_nibbles':
gift-128.c: gift-128.c:121:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: for(u8 i=0; i<dest_len; i++)
gift-128.c: ^
gift-128.c: gift-128.c:124:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: for(u8 j=0; j<4; j++)
gift-128.c: ^
gift-128.c: gift-128.c: In function 'generate_round_keys':
gift-128.c: gift-128.c:149:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
gift-128.c: ...

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