Implementation notes: amd64, firefly, crypto_encrypt/ronald3072

Computer: firefly
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20201130
Operation: crypto_encrypt
Primitive: ronald3072
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
111604053191 0 034048 1256 1600T:opensslnewclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
135671253193 0 1633715 1280 1664T:opensslnewgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
140035962683 0 1631927 1272 1632T:opensslnewgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
140459163191 0 034048 1256 1600T:opensslnewclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
141046123135 0 034320 1256 1600T:opensslnewclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
141562933269 0 1633531 1280 1664T:opensslnewgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130
142624383191 0 034952 1256 1600T:opensslnewclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
149214803111 0 032366 1248 1600T:opensslnewclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2020121420201130
190154113202 0 1635611 1280 1664T:opensslnewgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2020121420201130

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: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:25: 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: 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: typedef struct rsa_st RSA;
keypair.c: ^
keypair.c: keypair.c:23:23: error: incomplete definition of type 'struct rsa_st'
keypair.c: len = BN_num_bytes(r->e); 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: ...

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_encrypt_ronald3072_openssl_timingleaks_keypair’:
keypair.c: keypair.c:15:3: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
keypair.c: r = RSA_generate_key(MODULUS_BYTES * 8,3,0,0);
keypair.c: ^
keypair.c: In file included from /usr/include/openssl/rsa.h:13:0,
keypair.c: from keypair.c:2:
keypair.c: /usr/include/openssl/rsa.h:235:1: note: declared here
keypair.c: 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:0,
keypair.c: from /usr/include/openssl/rsa.h:16,
keypair.c: from keypair.c:2:
keypair.c: keypair.c:20:23: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
keypair.c: len = BN_num_bytes(r->n); if (len > MODULUS_BYTES) goto error;
keypair.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