Implementation notes: armeabi, novenablue, crypto_kem/frodokem976aes

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_kem
Primitive: frodokem976aes
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
21657315015668 24 032808 476 1552optimizedclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020051720200417
21712600115668 24 032808 476 1552optimizedclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020051720200417
21940446116568 24 035416 476 1552optimizedclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020051720200417
23861953216544 24 035400 476 1552optimizedclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020051720200417
26051490612384 24 028466 472 1552optimizedclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020051720200417

Compiler output

Implementation: optimized
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
frodo976.c: In file included from frodo976.c:31:0:
frodo976.c: kem.inc: In function 'crypto_kem_frodokem976aes_optimized_dec':
frodo976.c: kem.inc:192:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo976.c: for (int i = 0; i < PARAMS_N*PARAMS_NBAR; i++) BBp[i] = BBp[i] & ((1 << PARAMS_LOGQ)-1);
frodo976.c: ^
frodo976.c: kem.inc:192:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
frodo976.c: In file included from frodo976.c:33:0:
frodo976.c: frodo_macrify.inc: In function 'frodo_add':
frodo976.c: frodo_macrify.inc:163:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo976.c: for (int i = 0; i < (PARAMS_NBAR*PARAMS_NBAR); i++) {
frodo976.c: ^
frodo976.c: frodo_macrify.inc: In function 'frodo_sub':
frodo976.c: frodo_macrify.inc:174:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
frodo976.c: for (int i = 0; i < (PARAMS_NBAR*PARAMS_NBAR); i++) {
frodo976.c: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE optimized

Compiler output

Implementation: x64
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: In file included from /usr/include/clang/3.5.0/include/wmmintrin.h:27:
aes_ni.c: /usr/include/clang/3.5.0/include/emmintrin.h:28:2: error: "SSE2 instruction set not enabled"
aes_ni.c: #error "SSE2 instruction set not enabled"
aes_ni.c: ^
aes_ni.c: In file included from aes_ni.c:6:
aes_ni.c: /usr/include/clang/3.5.0/include/wmmintrin.h:30:3: error: "AES/PCLMUL instructions not enabled"
aes_ni.c: # error "AES/PCLMUL instructions not enabled"
aes_ni.c: ^
aes_ni.c: aes_ni.c:10:8: error: unknown type name '__m128i'
aes_ni.c: static __m128i key_expand(__m128i key, __m128i keygened) {
aes_ni.c: ^
aes_ni.c: aes_ni.c:10:27: error: unknown type name '__m128i'
aes_ni.c: static __m128i key_expand(__m128i key, __m128i keygened) {
aes_ni.c: ^
aes_ni.c: aes_ni.c:10:40: error: unknown type name '__m128i'
aes_ni.c: static __m128i key_expand(__m128i key, __m128i keygened) {
aes_ni.c: ^
aes_ni.c: aes_ni.c:11:8: warning: implicit declaration of function '_mm_xor_si128' is invalid in C99 [-Wimplicit-function-declaration]
aes_ni.c: key = _mm_xor_si128(key, _mm_slli_si128(key, 4));
aes_ni.c: ^
aes_ni.c: aes_ni.c:11:27: warning: implicit declaration of function '_mm_slli_si128' is invalid in C99 [-Wimplicit-function-declaration]
aes_ni.c: key = _mm_xor_si128(key, _mm_slli_si128(key, 4));
aes_ni.c: ^
aes_ni.c: aes_ni.c:14:13: warning: implicit declaration of function '_mm_shuffle_epi32' is invalid in C99 [-Wimplicit-function-declaration]
aes_ni.c: ...

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

Compiler output

Implementation: x64
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes_ni.c: aes_ni.c:6:23: fatal error: wmmintrin.h: No such file or directory
aes_ni.c: #include <wmmintrin.h>
aes_ni.c: ^
aes_ni.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE x64
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE x64
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE x64
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE x64

Namespace violations

Implementation: optimized
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.o AES128_free_schedule T
aes.o AES256_free_schedule T
aes.o handleErrors T
fips202.o KeccakF1600_StatePermute T
fips202.o shake128 T
fips202.o shake128_absorb T
fips202.o shake128_squeezeblocks T
fips202.o shake256 T
fips202.o shake256_absorb T
fips202.o shake256_squeezeblocks T
frodo976.o CDF_TABLE D
frodo976.o CDF_TABLE_LEN D
frodo976.o frodo_add T
frodo976.o frodo_key_decode T
frodo976.o frodo_key_encode T
frodo976.o frodo_mul_add_as_plus_e T
frodo976.o frodo_mul_add_sa_plus_e T
frodo976.o frodo_mul_add_sb_plus_e T
frodo976.o frodo_mul_bs T
frodo976.o frodo_sample_n T
frodo976.o frodo_sub T
util.o clear_bytes T
util.o frodo_pack T
util.o frodo_unpack T

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