Implementation notes: armeabi, novenablue, crypto_encrypt/mceliece

Computer: novenablue
Architecture: armeabi
CPU ID: unknown CPU ID
SUPERCOP version: 20200702
Operation: crypto_encrypt
Primitive: mceliece
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
204701215480 128 2834666 592 9916refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052220200417
21534858552 128 2826186 592 9916refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052220200417
22635526832 128 2824494 584 9916refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052220200417
24397217944 128 2825390 592 9916refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020052220200417

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
misc.c: misc.c:6:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
misc.c: __inline int u8rnd() { char c; randombytes(&c,1); return 255 & (int) c; }
misc.c: ^~
misc.c: /home/user/benchmarking/supercop-20200417/supercop-data/novenablue/armeabi/include/randombytes.h:8:40: note: passing argument to parameter here
misc.c: extern void randombytes(unsigned char *,unsigned long long);
misc.c: ^
misc.c: 1 warning generated.
try.c: crypto_encrypt_mceliece.a(keypair.o): In function `gop_supr':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: crypto_encrypt_mceliece.a(keypair.o): In function `crypto_encrypt_mceliece_ref_keypair':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: crypto_encrypt_mceliece.a(keypair.o):keypair.c:(.text+0x...): more undefined references to `u8rnd' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 4, 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 -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
misc.c: misc.c:6:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
misc.c: __inline int u8rnd() { char c; randombytes(&c,1); return 255 & (int) c; }
misc.c: ^~
misc.c: /home/user/benchmarking/supercop-20200417/supercop-data/novenablue/armeabi/include/randombytes.h:8:40: note: passing argument to parameter here
misc.c: extern void randombytes(unsigned char *,unsigned long long);
misc.c: ^
misc.c: 1 warning generated.
try.c: crypto_encrypt_mceliece.a(keypair.o): In function `gop_supr':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: crypto_encrypt_mceliece.a(keypair.o): In function `crypto_encrypt_mceliece_ref_keypair':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

Namespace violations

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
decrypt.o L C
decrypt.o coeffs C
decrypt.o decode T
decrypt.o g C
decrypt.o gf_exp C
decrypt.o gf_log C
decrypt.o shortplaintext T
decrypt.o sk_free T
decrypt.o sk_from_string T
decrypt.o sqrtmod C
decrypt.o syndrome T
encrypt.o encryp_bloc T
encrypt.o pk_from_string T
encrypt.o shortciphertext T
encrypt.o vec_concat T
gf.o gf_exp C
gf.o gf_init T
gf.o gf_init_exp T
gf.o gf_init_log T
gf.o gf_log C
gf.o gf_pow T
gf.o gf_rand T
gf.o init_done B
keypair.o gf_exp C
keypair.o gf_log C
keypair.o gop_supr T
keypair.o key_genmat T
mat.o mat_copy T
mat.o mat_free T
mat.o mat_ini T
mat.o mat_ini_from_string T
mat.o mat_mul T
mat.o mat_rowxor T
mat.o mat_rref T
mat.o mat_vec_mul T
misc.o bino D
misc.o buf B
misc.o buf_size B
misc.o fill_buf T
misc.o pick_er T
misc.o rnd T
misc.o u8rnd T
misc.o update_rnd T
poly.o gf_exp C
poly.o gf_log C
poly.o poly_alloc T
poly.o poly_alloc_from_string T
poly.o poly_calcule_deg T
poly.o poly_copy T
poly.o poly_degppf T
poly.o poly_eeaux T
poly.o poly_eval T
poly.o poly_eval_aux T
poly.o poly_free T
poly.o poly_gcd T
poly.o poly_gcd_aux T
poly.o poly_mul T
poly.o poly_randgen_irred T
poly.o poly_rem T
poly.o poly_set T
poly.o poly_set_to_zero T
poly.o poly_shiftmod T
poly.o poly_sqmod T
poly.o poly_sqmod_init T
poly.o poly_sqrtmod_init T
poly.o poly_syndrome_init T

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