Implementation notes: armeabi, novenablue, crypto_aead/simple128gift

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_aead
Primitive: simple128gift
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
695795923810 0 019342 436 824refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
695830343810 0 017646 436 824refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
695873883810 0 017646 436 824refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
758761933826 0 019374 436 824refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020042720200417
1082533373842 0 016624 432 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_128-128.c: simple_128-128.c:11:23: warning: redefinition of typedef 'u8' is a C11 feature [-Wtypedef-redefinition]
simple_128-128.c: typedef unsigned char u8; //used for Byte-Arrays
simple_128-128.c: ^
simple_128-128.c: ./blockcipher.h:2:23: note: previous definition is here
simple_128-128.c: typedef unsigned char u8;
simple_128-128.c: ^
simple_128-128.c: simple_128-128.c:12:22: warning: redefinition of typedef 'u32' is a C11 feature [-Wtypedef-redefinition]
simple_128-128.c: typedef unsigned int u32; //used for regular counters
simple_128-128.c: ^
simple_128-128.c: ./blockcipher.h:3:22: note: previous definition is here
simple_128-128.c: typedef unsigned int u32;
simple_128-128.c: ^
simple_128-128.c: simple_128-128.c:13:28: warning: redefinition of typedef 'ull' is a C11 feature [-Wtypedef-redefinition]
simple_128-128.c: typedef unsigned long long ull; //used for long counters
simple_128-128.c: ^
simple_128-128.c: ./blockcipher.h:4:28: note: previous definition is here
simple_128-128.c: typedef unsigned long long ull;
simple_128-128.c: ^
simple_128-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
GIFT_128-128.c: GIFT_128-128.c: In function 'blockcipher_encrypt':
GIFT_128-128.c: GIFT_128-128.c:54:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
GIFT_128-128.c: for(u8 i=0; i<16; i++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:54:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
GIFT_128-128.c: GIFT_128-128.c:60:12: error: redefinition of 'i'
GIFT_128-128.c: for(u8 i=0; i<16; i++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:54:12: note: previous definition of 'i' was here
GIFT_128-128.c: for(u8 i=0; i<16; i++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:60:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
GIFT_128-128.c: for(u8 i=0; i<16; i++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:74:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
GIFT_128-128.c: for(u8 r=0; r<ROUNDS; r++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:77:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
GIFT_128-128.c: for(u8 i=0; i<32; i++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:84:10: error: redefinition of 'i'
GIFT_128-128.c: for(u8 i=0; i<32; i++){
GIFT_128-128.c: ^
GIFT_128-128.c: GIFT_128-128.c:77:10: note: previous definition of 'i' was here
GIFT_128-128.c: for(u8 i=0; i<32; i++){
GIFT_128-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
GIFT_128-128.o GIFT_P R
GIFT_128-128.o GIFT_P_inv R
GIFT_128-128.o GIFT_RC R
GIFT_128-128.o GIFT_S R
GIFT_128-128.o GIFT_S_inv R
GIFT_128-128.o blockcipher_encrypt T
simple_128-128.o E T
simple_128-128.o derive T
simple_128-128.o increase_ctr T
simple_128-128.o simple_decrypt T
simple_128-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