Implementation notes: amd64, latour, crypto_dh/gls1271

Computer: latour
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20201130
Operation: crypto_dh
Primitive: gls1271

Compiler output

Implementation: T:ref4
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' is invalid in C99 [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
gls1271.c: gls1271.c:395:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: bytes_to_big(mip,16,sk,a[0]);
gls1271.c: ^~
gls1271.c: ./miracl.h:842:50: note: passing argument to parameter here
gls1271.c: extern void bytes_to_big(_MIPT_ int,const char *,big);
gls1271.c: ^
gls1271.c: gls1271.c:396:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: bytes_to_big(mip,16,&sk[16],a[1]);
gls1271.c: ^~~~~~~
gls1271.c: ./miracl.h:842:50: note: passing argument to parameter here
gls1271.c: extern void bytes_to_big(_MIPT_ int,const char *,big);
gls1271.c: ^
gls1271.c: gls1271.c:400:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: big_to_bytes(mip,16,x.a,pk,TRUE);
gls1271.c: ^~
gls1271.c: ./miracl.h:843:48: note: passing argument to parameter here
gls1271.c: extern int big_to_bytes(_MIPT_ int,big,char *,BOOL);
gls1271.c: ^
gls1271.c: gls1271.c:401:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
gls1271.c: ...

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

Compiler output

Implementation: T:ref4
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
gls1271.c: gls1271.c: In function 'crypto_dh_gls1271_ref4_timingleaks_keypair':
gls1271.c: gls1271.c:385:2: warning: implicit declaration of function 'ecn2_brick_init' [-Wimplicit-function-declaration]
gls1271.c: ecn2_brick_init(&binst,prom,A,B,p,6,128);
gls1271.c: ^
gls1271.c: gls1271.c:391:5: warning: implicit declaration of function 'randombytes' [-Wimplicit-function-declaration]
gls1271.c: randombytes(sk,32);
gls1271.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_div2_i':
mrecn2.c: mrecn2.c:20:2: warning: implicit declaration of function 'moddiv2' [-Wimplicit-function-declaration]
mrecn2.c: moddiv2(w->a->w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim2_i':
mrecn2.c: mrecn2.c:32:2: warning: implicit declaration of function 'modtim2' [-Wimplicit-function-declaration]
mrecn2.c: modtim2(w->a->w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_tim3_i':
mrecn2.c: mrecn2.c:44:2: warning: implicit declaration of function 'modtim3' [-Wimplicit-function-declaration]
mrecn2.c: modtim3(w->a->w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_add_i':
mrecn2.c: mrecn2.c:70:5: warning: implicit declaration of function 'modadd' [-Wimplicit-function-declaration]
mrecn2.c: modadd(x->a->w,y->a->w,w->a->w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_sub_i':
mrecn2.c: mrecn2.c:81:5: warning: implicit declaration of function 'modsub' [-Wimplicit-function-declaration]
mrecn2.c: modsub(x->a->w,y->a->w,w->a->w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_timesi_i':
mrecn2.c: mrecn2.c:96:2: warning: implicit declaration of function 'modneg' [-Wimplicit-function-declaration]
mrecn2.c: modneg(u->a->w);
mrecn2.c: ^
mrecn2.c: mrecn2.c: In function 'zzn2_imul_i':
mrecn2.c: ...

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