Implementation notes: amd64, speed2supercop, crypto_sign/ecdonaldb409

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240107
Operation: crypto_sign
Primitive: ecdonaldb409
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
105897122778 0 026513 1008 1600T:opensslnewgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
106041922778 0 024697 1008 1600T:opensslnewgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
106197722613 0 022729 1000 1600T:opensslnewgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
106518523273 0 024705 1008 1600T:opensslnewgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107

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:20:3: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 20 | k = EC_KEY_new(); if (!k) { BN_free(ky); BN_free(kx); return -1; }
keypair.c: | ^
keypair.c: In file included from /usr/include/openssl/ecdsa.h:10,
keypair.c: from keypair.c:3:
keypair.c: /usr/include/openssl/ec.h:968:31: note: declared here
keypair.c: 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
keypair.c: | ^~~~~~~~~~
keypair.c: keypair.c:25:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 25 | if (!EC_KEY_set_group(k,group)) goto error;
keypair.c: | ^~
keypair.c: /usr/include/openssl/ec.h:1042:27: note: declared here
keypair.c: 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
keypair.c: | ^~~~~~~~~~~~~~~~
keypair.c: keypair.c:26:3: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 26 | if (!EC_KEY_generate_key(k)) goto error;
keypair.c: | ^~
keypair.c: /usr/include/openssl/ec.h:1101:27: note: declared here
keypair.c: 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
keypair.c: | ^~~~~~~~~~~~~~~~~~~
keypair.c: keypair.c:28:3: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 28 | len = BN_num_bytes(EC_KEY_get0_private_key(k)); if (len > PRIME_BYTES) goto error;
keypair.c: | ^~~
keypair.c: /usr/include/openssl/ec.h:1048:37: note: declared here
keypair.c: ...
signatureofshorthash.c: signatureofshorthash.c: In function 'crypto_sign_ecdonaldb409_openssl_timingleaks_signatureofshorthash':
signatureofshorthash.c: signatureofshorthash.c:35:3: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 35 | k = EC_KEY_new(); if (!k) { EC_POINT_free(kxy); BN_free(ky); BN_free(kx); return -1; }
signatureofshorthash.c: | ^
signatureofshorthash.c: In file included from /usr/include/openssl/ecdsa.h:10,
signatureofshorthash.c: from signatureofshorthash.c:3:
signatureofshorthash.c: /usr/include/openssl/ec.h:968:31: note: declared here
signatureofshorthash.c: 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
signatureofshorthash.c: | ^~~~~~~~~~
signatureofshorthash.c: signatureofshorthash.c:37:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 37 | if (!EC_KEY_set_group(k,group)) goto error;
signatureofshorthash.c: | ^~
signatureofshorthash.c: /usr/include/openssl/ec.h:1042:27: note: declared here
signatureofshorthash.c: 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
signatureofshorthash.c: | ^~~~~~~~~~~~~~~~
signatureofshorthash.c: signatureofshorthash.c:40:3: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 40 | if (!EC_KEY_set_private_key(k,kx)) goto error;
signatureofshorthash.c: | ^~
signatureofshorthash.c: /usr/include/openssl/ec.h:1056:27: note: declared here
signatureofshorthash.c: 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
signatureofshorthash.c: | ^~~~~~~~~~~~~~~~~~~~~~
signatureofshorthash.c: signatureofshorthash.c:47:3: warning: 'EC_POINT_set_affine_coordinates_GF2m' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 47 | if (!EC_POINT_set_affine_coordinates_GF2m(group,kxy,kx,ky,0)) goto error;
signatureofshorthash.c: | ^~
signatureofshorthash.c: /usr/include/openssl/ec.h:699:27: note: declared here
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: 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:23:3: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 23 | k = EC_KEY_new();
keypair.c: | ^
keypair.c: In file included from /usr/include/openssl/ecdsa.h:10,
keypair.c: from keypair.c:3:
keypair.c: /usr/include/openssl/ec.h:968:31: note: declared here
keypair.c: 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
keypair.c: | ^~~~~~~~~~
keypair.c: keypair.c:28:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 28 | if (!EC_KEY_set_group(k,group)) goto error;
keypair.c: | ^~
keypair.c: /usr/include/openssl/ec.h:1042:27: note: declared here
keypair.c: 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
keypair.c: | ^~~~~~~~~~~~~~~~
keypair.c: keypair.c:29:3: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 29 | if (!EC_KEY_generate_key(k)) goto error;
keypair.c: | ^~
keypair.c: /usr/include/openssl/ec.h:1101:27: note: declared here
keypair.c: 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
keypair.c: | ^~~~~~~~~~~~~~~~~~~
keypair.c: keypair.c:31:3: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
keypair.c: 31 | len = BN_num_bytes(EC_KEY_get0_private_key(k));
keypair.c: | ^~~
keypair.c: /usr/include/openssl/ec.h:1048:37: note: declared here
keypair.c: ...
signatureofshorthash.c: signatureofshorthash.c: In function 'crypto_sign_ecdonaldb409_opensslnew_timingleaks_signatureofshorthash':
signatureofshorthash.c: signatureofshorthash.c:37:3: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 37 | k = EC_KEY_new(); if (!k) goto error;
signatureofshorthash.c: | ^
signatureofshorthash.c: In file included from /usr/include/openssl/ecdsa.h:10,
signatureofshorthash.c: from signatureofshorthash.c:3:
signatureofshorthash.c: /usr/include/openssl/ec.h:968:31: note: declared here
signatureofshorthash.c: 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
signatureofshorthash.c: | ^~~~~~~~~~
signatureofshorthash.c: signatureofshorthash.c:39:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 39 | if (!EC_KEY_set_group(k,group)) goto error;
signatureofshorthash.c: | ^~
signatureofshorthash.c: /usr/include/openssl/ec.h:1042:27: note: declared here
signatureofshorthash.c: 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
signatureofshorthash.c: | ^~~~~~~~~~~~~~~~
signatureofshorthash.c: signatureofshorthash.c:42:3: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 42 | if (!EC_KEY_set_private_key(k,kx)) goto error;
signatureofshorthash.c: | ^~
signatureofshorthash.c: /usr/include/openssl/ec.h:1056:27: note: declared here
signatureofshorthash.c: 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
signatureofshorthash.c: | ^~~~~~~~~~~~~~~~~~~~~~
signatureofshorthash.c: signatureofshorthash.c:49:3: warning: 'EC_POINT_set_affine_coordinates_GF2m' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
signatureofshorthash.c: 49 | if (!EC_POINT_set_affine_coordinates_GF2m(group,kxy,kx,ky,0)) goto error;
signatureofshorthash.c: | ^~
signatureofshorthash.c: /usr/include/openssl/ec.h:699:27: note: declared here
signatureofshorthash.c: ...
verification.c: verification.c: In function 'crypto_sign_ecdonaldb409_opensslnew_timingleaks_verification':
verification.c: verification.c:36:3: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
verification.c: 36 | k = EC_KEY_new(); if (!k) goto error;
verification.c: | ^
verification.c: In file included from /usr/include/openssl/ecdsa.h:10,
verification.c: from verification.c:2:
verification.c: /usr/include/openssl/ec.h:968:31: note: declared here
verification.c: 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
verification.c: | ^~~~~~~~~~
verification.c: verification.c:38:3: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
verification.c: 38 | if (!EC_KEY_set_group(k,group)) goto error;
verification.c: | ^~
verification.c: /usr/include/openssl/ec.h:1042:27: note: declared here
verification.c: 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
verification.c: | ^~~~~~~~~~~~~~~~
verification.c: verification.c:44:3: warning: 'EC_POINT_set_affine_coordinates_GF2m' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
verification.c: 44 | if (!EC_POINT_set_affine_coordinates_GF2m(group,kxy,kx,ky,0)) goto error;
verification.c: | ^~
verification.c: /usr/include/openssl/ec.h:699:27: note: declared here
verification.c: 699 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GF2m
verification.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
verification.c: verification.c:46:3: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
verification.c: 46 | if (!EC_KEY_set_public_key(k,kxy)) goto error;
verification.c: | ^~
verification.c: /usr/include/openssl/ec.h:1070:27: note: declared here
verification.c: ...
try.c: /usr/bin/ld: warning: crypto_stream_chacha20_moon_avx2_64_constbranchindex-chacha.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
try.c: /usr/bin/ld: warning: crypto_stream_chacha20_moon_avx2_64_constbranchindex-chacha.o: missing .note.GNU-stack section implies executable stack
try.c: /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

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