Implementation notes: amd64, icelake, crypto_sign/ronald512

Computer: icelake
Architecture: amd64
CPU ID: GenuineIntel-000706e5-bfebfbff
SUPERCOP version: 20200826
Operation: crypto_sign
Primitive: ronald512
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
4112343481 0 032768 4096 0T:opensslnewopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082920200826
4140394156 0 032768 4096 0T:opensslnewclang_-march=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082920200826
4140972984 0 028672 4096 0T:opensslnewclang_-march=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082920200826
4186274230 0 032768 4096 0T:opensslnewclang_-march=icelake-client_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020082920200826
4189693519 0 032768 4096 0T:opensslnewopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082920200826
4265572912 0 028672 4096 0T:opensslnewopt-local-bin-gcc_-march=icelake-client_-mtune=icelake-client_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020082920200826

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: clang -march=icelake-client -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/local/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/local/include/openssl/opensslconf.h:170: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/local/include/openssl/opensslconf.h:121: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/local/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/local/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/local/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
keypair.c: ...

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

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
keypair.c: keypair.c: In function 'crypto_sign_ronald512_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/local/include/openssl/rsa.h:13,
keypair.c: from keypair.c:2:
keypair.c: /usr/local/include/openssl/rsa.h:235:25: note: declared here
keypair.c: 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
keypair.c: | ^~~~~~~~~~~~~~~~
keypair.c: /usr/local/include/openssl/opensslconf.h:121:37: note: in definition of macro 'DECLARE_DEPRECATED'
keypair.c: 121 | # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
keypair.c: | ^
keypair.c: /usr/local/include/openssl/rsa.h:235:1: note: in expansion of macro 'DEPRECATEDIN_0_9_8'
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/local/include/openssl/asn1.h:23,
keypair.c: from /usr/local/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: /usr/local/include/openssl/bn.h:181:40: note: in definition of macro 'BN_num_bytes'
keypair.c: 181 | # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
keypair.c: | ^
keypair.c: keypair.c:21:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
keypair.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
opt-local-bin-gcc -march=icelake-client -mtune=icelake-client -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl

Compiler output

Implementation: T:opensslnew
Security model: timingleaks
Compiler: clang -march=icelake-client -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
measure.c: ld: warning: could not create compact unwind for _crypto_stream_aes256ctr_dolbeau_aesenc_int_constbranchindex_xor: register 3 saved somewhere other than in frame

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