Implementation notes: ppc64, power9, crypto_sign/ronald2048

Computer: power9
Architecture: ppc64
CPU ID: unknown CPU ID
SUPERCOP version: 20210326
Operation: crypto_sign
Primitive: ronald2048
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
51163464168 0 031527 692 2112T:opensslnewclang_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51170624200 0 033671 692 2112T:opensslnewclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51199863120 0 027726 692 2112T:opensslnewgcc_-mcpu=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51204198400 0 033671 692 2112T:opensslnewclang_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51249303184 0 026849 684 2112T:opensslnewclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51265554192 0 033086 700 2136T:opensslnewgcc_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51287824168 0 031527 692 2112T:opensslnewclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51293623184 0 026849 684 2112T:opensslnewclang_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51309643896 0 031847 692 2112T:opensslnewclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51339854072 0 031282 700 2120T:opensslnewgcc_-mcpu=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51350563912 0 030186 700 2120T:opensslnewgcc_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51352123120 0 027726 692 2112T:opensslnewgcc_-mcpu=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51361853132 0 027822 692 2112T:opensslnewgcc_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51390083888 0 030154 700 2120T:opensslnewgcc_-mcpu=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51397493528 0 027681 684 2112T:opensslnewclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51399493888 0 030154 700 2120T:opensslnewgcc_-mcpu=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51402283528 0 027681 684 2112T:opensslnewclang_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2021042320210326
51405254084 0 032662 700 2136T:opensslnewgcc_-mcpu=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51441284120 0 031402 700 2120T:opensslnewgcc_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51470644072 0 031282 700 2120T:opensslnewgcc_-mcpu=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326
51478684084 0 032662 700 2136T:opensslnewgcc_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2021042320210326

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keypair.c: keypair.c:15:7: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
keypair.c: r = RSA_generate_key(MODULUS_BYTES * 8,3,0,0);
keypair.c: ^
keypair.c: /usr/include/openssl/rsa.h:235:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
keypair.c: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
keypair.c: ^
keypair.c: /usr/include/powerpc64le-linux-gnu/openssl/opensslconf.h:167:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
keypair.c: # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
keypair.c: ^
keypair.c: /usr/include/powerpc64le-linux-gnu/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED'
keypair.c: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
keypair.c: ^
keypair.c: keypair.c:20:23: error: incomplete definition of type 'struct rsa_st'
keypair.c: len = BN_num_bytes(r->n); if (len > MODULUS_BYTES) goto error;
keypair.c: ~^
keypair.c: /usr/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_bytes'
keypair.c: # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
keypair.c: ^
keypair.c: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: typedef struct rsa_st RSA;
keypair.c: ^
keypair.c: keypair.c:21:36: error: incomplete definition of type 'struct rsa_st'
keypair.c: out += MODULUS_BYTES; BN_bn2bin(r->n,out - len);
keypair.c: ~^
keypair.c: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: ...

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
clang -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
clang -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
clang -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
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: clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
keypair.c: keypair.c:15:7: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
keypair.c: r = RSA_generate_key(MODULUS_BYTES * 8,3,0,0);
keypair.c: ^
keypair.c: /usr/include/openssl/rsa.h:235:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
keypair.c: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
keypair.c: ^
keypair.c: /usr/include/powerpc64le-linux-gnu/openssl/opensslconf.h:167:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
keypair.c: # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
keypair.c: ^
keypair.c: /usr/include/powerpc64le-linux-gnu/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED'
keypair.c: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
keypair.c: ^
keypair.c: keypair.c:20:23: error: incomplete definition of type 'struct rsa_st'
keypair.c: len = BN_num_bytes(r->n); if (len > MODULUS_BYTES) goto error;
keypair.c: ~^
keypair.c: /usr/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_bytes'
keypair.c: # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
keypair.c: ^
keypair.c: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: typedef struct rsa_st RSA;
keypair.c: ^
keypair.c: keypair.c:21:36: error: incomplete definition of type 'struct rsa_st'
keypair.c: out += MODULUS_BYTES; BN_bn2bin(r->n,out - len);
keypair.c: ~^
keypair.c: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: ...
keypair.c: keypair.c:15:7: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
keypair.c: r = RSA_generate_key(MODULUS_BYTES * 8,3,0,0);
keypair.c: ^
keypair.c: /usr/include/openssl/rsa.h:235:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
keypair.c: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
keypair.c: ^
keypair.c: /usr/include/powerpc64le-linux-gnu/openssl/opensslconf.h:167:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
keypair.c: # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
keypair.c: ^
keypair.c: /usr/include/powerpc64le-linux-gnu/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED'
keypair.c: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
keypair.c: ^
keypair.c: keypair.c:20:23: error: incomplete definition of type 'struct rsa_st'
keypair.c: len = BN_num_bytes(r->n); if (len > MODULUS_BYTES) goto error;
keypair.c: ~^
keypair.c: /usr/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_bytes'
keypair.c: # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
keypair.c: ^
keypair.c: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: typedef struct rsa_st RSA;
keypair.c: ^
keypair.c: keypair.c:21:36: error: incomplete definition of type 'struct rsa_st'
keypair.c: out += MODULUS_BYTES; BN_bn2bin(r->n,out - len);
keypair.c: ~^
keypair.c: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: gcc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keypair.c: keypair.c: In function 'crypto_sign_ronald2048_openssl_timingleaks_keypair':
keypair.c: keypair.c:15:3: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
keypair.c: 15 | r = RSA_generate_key(MODULUS_BYTES * 8,3,0,0);
keypair.c: | ^
keypair.c: In file included from /usr/include/openssl/rsa.h:13,
keypair.c: from keypair.c:2:
keypair.c: /usr/include/openssl/rsa.h:235:1: note: declared here
keypair.c: 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
keypair.c: | ^~~~~~~~~~~~~~~~~~
keypair.c: In file included from /usr/include/openssl/asn1.h:23,
keypair.c: from /usr/include/openssl/rsa.h:16,
keypair.c: from keypair.c:2:
keypair.c: keypair.c:20:23: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
keypair.c: 20 | len = BN_num_bytes(r->n); if (len > MODULUS_BYTES) goto error;
keypair.c: | ^~
keypair.c: keypair.c:21:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
keypair.c: 21 | out += MODULUS_BYTES; BN_bn2bin(r->n,out - len);
keypair.c: | ^~
keypair.c: In file included from /usr/include/openssl/asn1.h:23,
keypair.c: from /usr/include/openssl/rsa.h:16,
keypair.c: from keypair.c:2:
keypair.c: keypair.c:23:23: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
keypair.c: 23 | len = BN_num_bytes(r->e); if (len > MODULUS_BYTES) goto error;
keypair.c: | ^~
keypair.c: keypair.c:24:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
keypair.c: ...

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