Skip to content

Instantly share code, notes, and snippets.

@monken
Created March 12, 2021 14:11
Show Gist options
  • Save monken/24ea590a3f044203c672d66336de5533 to your computer and use it in GitHub Desktop.
Save monken/24ea590a3f044203c672d66336de5533 to your computer and use it in GitHub Desktop.
openssl speed rsa2048
Doing 2048 bits private rsa's for 10s: 16696 2048 bits private RSA's in 10.00s
Doing 2048 bits public rsa's for 10s: 536259 2048 bits public RSA's in 10.00s
OpenSSL 1.1.1c 28 May 2019
built on: Wed May 29 17:53:30 2019 UTC
options:bn(64,64) rc4(16x,int) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: /tmp/build/80754af9/openssl_1559152327778/_build_env/bin/x86_64-conda_cos6-linux-gnu-cc -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -I/opt/anaconda -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -I/opt/anaconda/include -fdebug-prefix-map=/tmp/build/80754af9/openssl_1559152327778/work=/usr/local/src/conda/openssl-1.1.1c -fdebug-prefix-map=/opt/anaconda=/usr/local/src/conda-prefix -Wa,--noexecstack -fPIC -pthread -m64 -Wa,--noexecstack -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -I/opt/anaconda/include -fdebug-prefix-map=/tmp/build/80754af9/openssl_1559152327778/work=/usr/local/src/conda/openssl-1.1.1c -fdebug-prefix-map=/opt/anaconda=/usr/local/src/conda-prefix -Wa,--noexecstack -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -I/opt/anaconda
sign verify sign/s verify/s
rsa 2048 bits 0.000599s 0.000019s 1669.6 53625.9
openssl speed rsa2048
Doing 2048 bits private rsa's for 10s: 2930 2048 bits private RSA's in 10.00s
Doing 2048 bits public rsa's for 10s: 107210 2048 bits public RSA's in 10.00s
OpenSSL 1.1.1f 31 Mar 2020
built on: Wed Feb 17 12:35:54 2021 UTC
options:bn(64,64) rc4(char) des(int) aes(partial) blowfish(ptr)
compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-v98FM7/openssl-1.1.1f=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
sign verify sign/s verify/s
rsa 2048 bits 0.003413s 0.000093s 293.0 10721.0
/opt/homebrew/Cellar/[email protected]/1.1.1i/bin/openssl speed rsa2048
Doing 2048 bits private rsa's for 10s: 17811 2048 bits private RSA's in 9.95s
Doing 2048 bits public rsa's for 10s: 703895 2048 bits public RSA's in 9.97s
OpenSSL 1.1.1i 8 Dec 2020
built on: Mon Dec 21 10:48:43 2020 UTC
options:bn(64,64) rc4(int) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: clang -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -D_REENTRANT -DNDEBUG
sign verify sign/s verify/s
rsa 2048 bits 0.000559s 0.000014s 1790.1 70601.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment