Implementation notes: armeabi, novenablue, crypto_aead/simple64present

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_aead
Primitive: simple64present
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
452520876028 0 021540 432 824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
455592746028 0 019844 432 824refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
456710086028 0 019844 432 824refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
482791306076 0 021604 432 824refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
563329953864 0 016622 428 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
simple_64-128.c: simple_64-128.c:12:23: warning: redefinition of typedef 'u8' is a C11 feature [-Wtypedef-redefinition]
simple_64-128.c: typedef unsigned char u8; //used for Byte-Arrays
simple_64-128.c: ^
simple_64-128.c: ./blockcipher.h:2:23: note: previous definition is here
simple_64-128.c: typedef unsigned char u8;
simple_64-128.c: ^
simple_64-128.c: simple_64-128.c:13:22: warning: redefinition of typedef 'u32' is a C11 feature [-Wtypedef-redefinition]
simple_64-128.c: typedef unsigned int u32; //used for regular counters
simple_64-128.c: ^
simple_64-128.c: ./blockcipher.h:3:22: note: previous definition is here
simple_64-128.c: typedef unsigned int u32;
simple_64-128.c: ^
simple_64-128.c: simple_64-128.c:14:28: warning: redefinition of typedef 'ull' is a C11 feature [-Wtypedef-redefinition]
simple_64-128.c: typedef unsigned long long ull; //used for long counters
simple_64-128.c: ^
simple_64-128.c: ./blockcipher.h:4:28: note: previous definition is here
simple_64-128.c: typedef unsigned long long ull;
simple_64-128.c: ^
simple_64-128.c: 3 warnings 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
PRESENT_64-128.c: PRESENT_64-128.c: In function 'blockcipher_encrypt':
PRESENT_64-128.c: PRESENT_64-128.c:26:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
PRESENT_64-128.c: for(u8 i=0; i<16; i++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:26:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
PRESENT_64-128.c: PRESENT_64-128.c:32:12: error: redefinition of 'i'
PRESENT_64-128.c: for(u8 i=0; i<SSZ/2; i++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:26:12: note: previous definition of 'i' was here
PRESENT_64-128.c: for(u8 i=0; i<16; i++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:32:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
PRESENT_64-128.c: for(u8 i=0; i<SSZ/2; i++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:48:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
PRESENT_64-128.c: for(u8 r=0; r<ROUNDS+1; r++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:51:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
PRESENT_64-128.c: for(u8 i=0; i<SSZ; i++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:56:10: error: redefinition of 'i'
PRESENT_64-128.c: for(u8 i=0; i<32; i++){
PRESENT_64-128.c: ^
PRESENT_64-128.c: PRESENT_64-128.c:51:10: note: previous definition of 'i' was here
PRESENT_64-128.c: for(u8 i=0; i<SSZ; i++){
PRESENT_64-128.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
PRESENT_64-128.o PRESENT_PERM R
PRESENT_64-128.o PRESENT_SBOX R
PRESENT_64-128.o blockcipher_encrypt T
simple_64-128.o E T
simple_64-128.o derive_double T
simple_64-128.o increase_ctr T
simple_64-128.o simple_decrypt T
simple_64-128.o simple_encrypt 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