Implementation notes: aarch64, gcc185, crypto_sign/ecdonaldb409

Computer: gcc185
Microarchitecture: aarch64; Skylark (503f0002)
Architecture: aarch64
CPU ID: 503f0002
SUPERCOP version: 20240107
Operation: crypto_sign
Primitive: ecdonaldb409

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keypair.c: keypair.c:34:8: error: call to undeclared function 'EC_POINT_get_affine_coordinates_GF2m'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
keypair.c: 34 | if (!EC_POINT_get_affine_coordinates_GF2m(group,EC_KEY_get0_public_key(k),kx,ky,0)) goto error;
keypair.c: | ^
keypair.c: keypair.c:34:8: note: did you mean 'EC_POINT_get_affine_coordinates_GFp'?
keypair.c: /usr/include/openssl/ec.h:543:24: note: 'EC_POINT_get_affine_coordinates_GFp' declared here
keypair.c: 543 | DEPRECATEDIN_1_2_0(int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
keypair.c: | ^
keypair.c: /usr/include/openssl/opensslconf.h:146:34: note: expanded from macro 'DEPRECATEDIN_1_2_0'
keypair.c: 146 | # define DEPRECATEDIN_1_2_0(f) f;
keypair.c: | ^
keypair.c: 1 error generated.

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

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keypair.c: keypair.c: In function 'crypto_sign_ecdonaldb409_openssl_timingleaks_keypair':
keypair.c: keypair.c:34:8: warning: implicit declaration of function 'EC_POINT_get_affine_coordinates_GF2m'; did you mean 'EC_POINT_get_affine_coordinates_GFp'? [-Wimplicit-function-declaration]
keypair.c: if (!EC_POINT_get_affine_coordinates_GF2m(group,EC_KEY_get0_public_key(k),kx,ky,0)) goto error;
keypair.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keypair.c: EC_POINT_get_affine_coordinates_GFp
signatureofshorthash.c: signatureofshorthash.c: In function 'crypto_sign_ecdonaldb409_openssl_timingleaks_signatureofshorthash':
signatureofshorthash.c: signatureofshorthash.c:47:8: warning: implicit declaration of function 'EC_POINT_set_affine_coordinates_GF2m'; did you mean 'EC_POINT_set_affine_coordinates_GFp'? [-Wimplicit-function-declaration]
signatureofshorthash.c: if (!EC_POINT_set_affine_coordinates_GF2m(group,kxy,kx,ky,0)) goto error;
signatureofshorthash.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
signatureofshorthash.c: EC_POINT_set_affine_coordinates_GFp
signatureofshorthash.c: In file included from /usr/include/openssl/asn1.h:23,
signatureofshorthash.c: from /usr/include/openssl/objects.h:15,
signatureofshorthash.c: from signatureofshorthash.c:2:
signatureofshorthash.c: signatureofshorthash.c:54:24: error: dereferencing pointer to incomplete type 'ECDSA_SIG' {aka 'struct ECDSA_SIG_st'}
signatureofshorthash.c: len = BN_num_bytes(rs->r); if (len > PRIME_BYTES) goto rserror;
signatureofshorthash.c: ^~

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

Compiler output

Implementation: T:opensslnew
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keypair.c: keypair.c:39:8: error: call to undeclared function 'EC_POINT_get_affine_coordinates_GF2m'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
keypair.c: 39 | if (!EC_POINT_get_affine_coordinates_GF2m(group,EC_KEY_get0_public_key(k),kx,ky,0)) goto error;
keypair.c: | ^
keypair.c: keypair.c:39:8: note: did you mean 'EC_POINT_get_affine_coordinates_GFp'?
keypair.c: /usr/include/openssl/ec.h:543:24: note: 'EC_POINT_get_affine_coordinates_GFp' declared here
keypair.c: 543 | DEPRECATEDIN_1_2_0(int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
keypair.c: | ^
keypair.c: /usr/include/openssl/opensslconf.h:146:34: note: expanded from macro 'DEPRECATEDIN_1_2_0'
keypair.c: 146 | # define DEPRECATEDIN_1_2_0(f) f;
keypair.c: | ^
keypair.c: 1 error generated.

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

Compiler output

Implementation: T:opensslnew
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keypair.c: keypair.c: In function 'crypto_sign_ecdonaldb409_opensslnew_timingleaks_keypair':
keypair.c: keypair.c:39:8: warning: implicit declaration of function 'EC_POINT_get_affine_coordinates_GF2m'; did you mean 'EC_POINT_get_affine_coordinates_GFp'? [-Wimplicit-function-declaration]
keypair.c: if (!EC_POINT_get_affine_coordinates_GF2m(group,EC_KEY_get0_public_key(k),kx,ky,0)) goto error;
keypair.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keypair.c: EC_POINT_get_affine_coordinates_GFp
signatureofshorthash.c: signatureofshorthash.c: In function 'crypto_sign_ecdonaldb409_opensslnew_timingleaks_signatureofshorthash':
signatureofshorthash.c: signatureofshorthash.c:49:8: warning: implicit declaration of function 'EC_POINT_set_affine_coordinates_GF2m'; did you mean 'EC_POINT_set_affine_coordinates_GFp'? [-Wimplicit-function-declaration]
signatureofshorthash.c: if (!EC_POINT_set_affine_coordinates_GF2m(group,kxy,kx,ky,0)) goto error;
signatureofshorthash.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
signatureofshorthash.c: EC_POINT_set_affine_coordinates_GFp
verification.c: verification.c: In function 'crypto_sign_ecdonaldb409_opensslnew_timingleaks_verification':
verification.c: verification.c:44:8: warning: implicit declaration of function 'EC_POINT_set_affine_coordinates_GF2m'; did you mean 'EC_POINT_set_affine_coordinates_GFp'? [-Wimplicit-function-declaration]
verification.c: if (!EC_POINT_set_affine_coordinates_GF2m(group,kxy,kx,ky,0)) goto error;
verification.c: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
verification.c: EC_POINT_set_affine_coordinates_GFp
try.c: libcrypto_sign_ecdonaldb409.a(keypair.o): In function `crypto_sign_ecdonaldb409_opensslnew_timingleaks_keypair':
try.c: keypair.c:(.text+0x...): undefined reference to `EC_POINT_get_affine_coordinates_GF2m'
try.c: libcrypto_sign_ecdonaldb409.a(verification.o): In function `crypto_sign_ecdonaldb409_opensslnew_timingleaks_verification':
try.c: verification.c:(.text+0x...): undefined reference to `EC_POINT_set_affine_coordinates_GF2m'
try.c: libcrypto_sign_ecdonaldb409.a(signatureofshorthash.o): In function `crypto_sign_ecdonaldb409_opensslnew_timingleaks_signatureofshorthash':
try.c: signatureofshorthash.c:(.text+0x...): undefined reference to `EC_POINT_set_affine_coordinates_GF2m'
try.c: collect2: error: ld returned 1 exit status

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