Test results for amd64, shoe, crypto_encrypt/ronald4096
[Page version: 20241024 06:39:13]
Measurements for amd64, shoe, crypto_encrypt
Test results for amd64, shoe, crypto_encrypt
Test results for crypto_encrypt/ronald4096
Computer: shoe
Microarchitecture: amd64; Broadwell+AES (306d4)
Architecture: amd64
CPU ID: GenuineIntel-000306d4-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_encrypt
Primitive: ronald4096
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
18791383 | 2735 0 0 | 30951 988 1784 | T:opensslnew | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
18805357 | 3121 0 0 | 31956 1004 1752 | T:opensslnew | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
18811379 | 4239 0 0 | 36374 1012 1784 | T:opensslnew | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
18825642 | 4239 0 0 | 36454 1012 1784 | T:opensslnew | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
18845598 | 3180 0 0 | 32268 1004 1752 | T:opensslnew | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
18877496 | 3209 0 0 | 32415 996 1784 | T:opensslnew | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
18880041 | 3017 0 0 | 34335 996 1784 | T:opensslnew | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
19055178 | 3790 0 0 | 35238 1012 1752 | T:opensslnew | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
19698778 | 2985 0 0 | 32503 996 1784 | T:opensslnew | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240722 | 20240625 |
Compiler output
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/x86_64-linux-gnu/openssl/opensslconf.h:172: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/x86_64-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 (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:openssl | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:openssl | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:openssl | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:openssl | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:openssl | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
keypair.c: keypair.c: In function 'crypto_encrypt_ronald4096_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 (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:openssl | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:openssl | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:openssl | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:openssl | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |