Implementation notes: amd64, saber214, crypto_sign/ecdonaldk283

Computer: saber214
Microarchitecture: amd64; Bulldozer (600f20)
Architecture: amd64
CPU ID: AuthenticAMD-00600f20-1789c3f5
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: ecdonaldk283

Compiler output


keypair.c: keypair.c:20:7: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
keypair.c:   k = EC_KEY_new(); if (!k) { BN_free(ky); BN_free(kx); return -1; }
keypair.c:       ^
keypair.c: /usr/include/openssl/ec.h:968:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
keypair.c: OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
keypair.c: ^
keypair.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
keypair.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
keypair.c:                                                 ^
keypair.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
keypair.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
keypair.c:                                                    ^
keypair.c: keypair.c:25:8: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations]
keypair.c:   if (!EC_KEY_set_group(k,group)) goto error;
keypair.c:        ^
keypair.c: /usr/include/openssl/ec.h:1042:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here
keypair.c: OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
keypair.c: ^
keypair.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
keypair.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
keypair.c:                                                 ^
keypair.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
keypair.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
keypair.c:                                                    ^
keypair.c: keypair.c:26:8: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations]
keypair.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:opensslclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


keypair.c: keypair.c: In function 'crypto_sign_ecdonaldk283_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: In file included from /usr/include/openssl/ecdsa.h:10,
keypair.c:                  from keypair.c:3:
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: In file included from /usr/include/openssl/ecdsa.h:10,
keypair.c:                  from keypair.c:3:
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: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:opensslgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:opensslgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:opensslgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:opensslgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


keypair.c: keypair.c:23:7: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
keypair.c:   k = EC_KEY_new();
keypair.c:       ^
keypair.c: /usr/include/openssl/ec.h:968:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
keypair.c: OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
keypair.c: ^
keypair.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
keypair.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
keypair.c:                                                 ^
keypair.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
keypair.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
keypair.c:                                                    ^
keypair.c: keypair.c:28:8: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations]
keypair.c:   if (!EC_KEY_set_group(k,group)) goto error;
keypair.c:        ^
keypair.c: /usr/include/openssl/ec.h:1042:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here
keypair.c: OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
keypair.c: ^
keypair.c: /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
keypair.c: #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
keypair.c:                                                 ^
keypair.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
keypair.c: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
keypair.c:                                                    ^
keypair.c: keypair.c:29:8: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations]
keypair.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:opensslnewclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslnewclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslnewclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslnewclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:opensslnewclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


keypair.c: keypair.c: In function 'crypto_sign_ecdonaldk283_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: In file included from /usr/include/openssl/ecdsa.h:10,
keypair.c:                  from keypair.c:3:
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: In file included from /usr/include/openssl/ecdsa.h:10,
keypair.c:                  from keypair.c:3:
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: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:opensslnewgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:opensslnewgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:opensslnewgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:opensslnewgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)