Implementation notes: armeabi, novenablue, crypto_aead/estatetweaes128v1

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_aead
Primitive: estatetweaes128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
17622678130 0 023509 428 824refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042520200417
17778258194 0 023557 428 824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042520200417
19695677310 0 020973 428 824refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042520200417
19698127310 0 020973 428 824refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042520200417
22449764738 0 017351 424 824refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042520200417

Compiler output

Implementation: ref
Security model: unknown
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:30: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:30: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:65: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:152: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_estatetweaes128v1_ref_encrypt':
encrypt.c: encrypt.c:206: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:98: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:211: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:141: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 ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Namespace violations

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
tweaes-128.o _aes_round_constants R
tweaes-128.o _aes_sbox R
tweaes-128.o _aes_sbox_inv R
tweaes-128.o add_round_key T
tweaes-128.o add_round_tweak T
tweaes-128.o bytes_to_bits T
tweaes-128.o expand_tweak T
tweaes-128.o generate_round_keys T
tweaes-128.o mix_columns T
tweaes-128.o mix_columns_inv T
tweaes-128.o shift_rows T
tweaes-128.o shift_rows_inv T
tweaes-128.o sub_bytes T
tweaes-128.o sub_bytes_inv T
tweaes-128.o tweaes_dec T
tweaes-128.o tweaes_enc T

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref