Implementation notes: armeabi, novenablue, crypto_aead/triflev1

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_aead
Primitive: triflev1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
652899505142 0 020496 428 824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
653997485022 0 018680 428 824refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
654019775022 0 018680 428 824refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
715419305194 0 020560 428 824refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
932632124082 0 016682 424 824refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: In file included from encrypt.c:4:
encrypt.c: ./casb.h:6:23: warning: redefinition of typedef 'u8' is a C11 feature [-Wtypedef-redefinition]
encrypt.c: typedef unsigned char u8;
encrypt.c: ^
encrypt.c: ./params.h:24:23: note: previous definition is here
encrypt.c: typedef unsigned char u8;
encrypt.c: ^
encrypt.c: 1 warning generated.

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
casb.c: casb.c: In function 'bytes_to_nibbles':
casb.c: casb.c:48:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.c: for(u8 i=0; i<src_len; i++)
casb.c: ^
casb.c: casb.c:48:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
casb.c: casb.c: In function 'nibbles_to_bytes':
casb.c: casb.c:62:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.c: for(u8 i=0; i<dest_len; i++)
casb.c: ^
casb.c: casb.c: In function 'nibbles_to_bits':
casb.c: casb.c:75:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.c: for(u8 i=0; i<src_len; i++)
casb.c: ^
casb.c: casb.c:77:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.c: for(u8 j=0; j<4; j++)
casb.c: ^
casb.c: casb.c: In function 'bits_to_nibbles':
casb.c: casb.c:91:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.c: for(u8 i=0; i<dest_len; i++)
casb.c: ^
casb.c: casb.c:94:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.c: for(u8 j=0; j<4; j++)
casb.c: ^
casb.c: casb.c: In function 'generate_round_keys':
casb.c: casb.c:117:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
casb.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
casb.o _casb_perm R
casb.o _casb_round_constants R
casb.o _casb_sbox R
casb.o add_round_constants T
casb.o add_round_key T
casb.o bits_to_nibbles T
casb.o bytes_to_nibbles T
casb.o casb_enc T
casb.o generate_round_keys T
casb.o nibbles_to_bits T
casb.o nibbles_to_bytes T
casb.o perm_bits T
casb.o sub_cells T
encrypt.o hash T
encrypt.o mac T
encrypt.o memcpy_ozp T
encrypt.o mult_2 T
encrypt.o ofb T
encrypt.o xor_bytes 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