Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Raspberry Pi 4 OpenSSL speed
OpenSSL 1.1.1d 10 Sep 2019
built on: Sat Oct 12 19:56:43 2019 UTC
options:bn(64,32) rc4(char) des(long) aes(partial) blowfish(ptr)
compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-f5SJyA/openssl-1.1.1d=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
md2 0.00 0.00 0.00 0.00 0.00 0.00
mdc2 0.00 0.00 0.00 0.00 0.00 0.00
md4 20140.84k 71924.97k 203053.82k 376768.85k 499122.18k 510050.30k
md5 42521.58k 109133.76k 207446.02k 268091.73k 292935.00k 294742.70k
hmac(md5) 14541.54k 49230.38k 131432.62k 225015.13k 285384.70k 290887.00k
sha1 32779.02k 79958.08k 145302.95k 183252.31k 198328.32k 199497.05k
rmd160 14470.22k 40547.67k 85903.79k 118907.22k 134108.50k 135293.61k
rc4 146774.76k 161152.23k 165197.99k 165988.35k 166535.17k 166576.13k
des cbc 28251.68k 29161.73k 29385.39k 29464.92k 29518.51k 29529.43k
des ede3 10500.63k 10649.86k 10687.57k 10725.72k 10715.14k 10704.21k
idea cbc 0.00 0.00 0.00 0.00 0.00 0.00
seed cbc 35424.77k 36939.80k 37265.32k 37421.06k 37453.82k 37448.36k
rc2 cbc 20533.17k 21018.86k 21199.62k 21243.90k 21260.97k 21260.97k
rc5-32/12 cbc 0.00 0.00 0.00 0.00 0.00 0.00
blowfish cbc 48848.42k 51407.83k 52059.14k 52321.96k 52327.77k 52357.80k
cast cbc 47817.63k 51075.67k 51851.01k 52195.33k 51276.46k 51320.15k
aes-128 cbc 75181.94k 80740.31k 84214.87k 85069.82k 85314.22k 85327.87k
aes-192 cbc 65840.43k 70539.22k 72951.81k 73580.20k 73766.23k 73777.15k
aes-256 cbc 58924.92k 62456.96k 64348.59k 64816.81k 64973.48k 64978.94k
camellia-128 cbc 52021.67k 55538.30k 56345.09k 56708.10k 56806.06k 56781.48k
camellia-192 cbc 41135.99k 43306.71k 43779.93k 44011.52k 44075.69k 43980.12k
camellia-256 cbc 41135.11k 43306.41k 43793.07k 44012.20k 44075.69k 43910.21k
sha256 23016.45k 54260.59k 95360.34k 117409.79k 125783.94k 126855.85k
sha512 5045.77k 20136.47k 28150.61k 38185.30k 42647.55k 43008.00k
whirlpool 3203.17k 6602.69k 10734.85k 12740.61k 13464.92k 13527.72k
aes-128 ige 70125.90k 77677.61k 80972.37k 81551.02k 82056.53k 81936.38k
aes-192 ige 62131.46k 67983.06k 70478.85k 70937.26k 71319.55k 71188.48k
aes-256 ige 55774.66k 60441.28k 62423.89k 62772.91k 63067.48k 62969.17k
ghash 57790.93k 62253.78k 64030.46k 64408.92k 64615.77k 64629.42k
rand 1697.71k 6175.55k 19098.26k 37861.50k 53328.26k 54686.39k
sign verify sign/s verify/s
rsa 512 bits 0.000320s 0.000029s 3126.1 34674.4
rsa 1024 bits 0.001972s 0.000102s 507.2 9813.2
rsa 2048 bits 0.014219s 0.000394s 70.3 2538.7
rsa 3072 bits 0.045753s 0.000868s 21.9 1152.3
rsa 4096 bits 0.104271s 0.001531s 9.6 653.0
rsa 7680 bits 0.646250s 0.005308s 1.5 188.4
rsa 15360 bits 4.993333s 0.021095s 0.2 47.4
sign verify sign/s verify/s
dsa 512 bits 0.000522s 0.000390s 1914.0 2566.4
dsa 1024 bits 0.001480s 0.001293s 675.9 773.4
dsa 2048 bits 0.005275s 0.004873s 189.6 205.2
sign verify sign/s verify/s
160 bits ecdsa (secp160r1) 0.0011s 0.0009s 925.2 1117.6
192 bits ecdsa (nistp192) 0.0015s 0.0012s 649.2 825.8
224 bits ecdsa (nistp224) 0.0022s 0.0017s 449.2 587.6
256 bits ecdsa (nistp256) 0.0002s 0.0006s 4097.4 1550.7
384 bits ecdsa (nistp384) 0.0081s 0.0057s 123.4 174.8
521 bits ecdsa (nistp521) 0.0201s 0.0137s 49.7 72.9
163 bits ecdsa (nistk163) 0.0017s 0.0033s 599.6 301.3
233 bits ecdsa (nistk233) 0.0033s 0.0065s 306.8 154.0
283 bits ecdsa (nistk283) 0.0059s 0.0118s 169.8 85.1
409 bits ecdsa (nistk409) 0.0138s 0.0276s 72.6 36.3
571 bits ecdsa (nistk571) 0.0322s 0.0644s 31.0 15.5
163 bits ecdsa (nistb163) 0.0018s 0.0036s 557.3 278.7
233 bits ecdsa (nistb233) 0.0036s 0.0071s 279.7 140.0
283 bits ecdsa (nistb283) 0.0065s 0.0131s 152.9 76.6
409 bits ecdsa (nistb409) 0.0156s 0.0314s 64.0 31.9
571 bits ecdsa (nistb571) 0.0368s 0.0736s 27.2 13.6
256 bits ecdsa (brainpoolP256r1) 0.0029s 0.0023s 342.1 427.7
256 bits ecdsa (brainpoolP256t1) 0.0029s 0.0022s 341.9 459.9
384 bits ecdsa (brainpoolP384r1) 0.0081s 0.0061s 123.5 162.8
384 bits ecdsa (brainpoolP384t1) 0.0080s 0.0056s 124.3 178.2
512 bits ecdsa (brainpoolP512r1) 0.0177s 0.0130s 56.7 76.9
512 bits ecdsa (brainpoolP512t1) 0.0176s 0.0119s 56.9 84.0
op op/s
160 bits ecdh (secp160r1) 0.0010s 991.2
192 bits ecdh (nistp192) 0.0015s 686.7
224 bits ecdh (nistp224) 0.0021s 472.5
256 bits ecdh (nistp256) 0.0004s 2342.9
384 bits ecdh (nistp384) 0.0077s 129.2
521 bits ecdh (nistp521) 0.0192s 52.1
163 bits ecdh (nistk163) 0.0016s 626.1
233 bits ecdh (nistk233) 0.0031s 319.0
283 bits ecdh (nistk283) 0.0057s 175.3
409 bits ecdh (nistk409) 0.0133s 75.1
571 bits ecdh (nistk571) 0.0311s 32.1
163 bits ecdh (nistb163) 0.0017s 582.0
233 bits ecdh (nistb233) 0.0034s 289.9
283 bits ecdh (nistb283) 0.0063s 157.5
409 bits ecdh (nistb409) 0.0152s 65.8
571 bits ecdh (nistb571) 0.0357s 28.0
256 bits ecdh (brainpoolP256r1) 0.0028s 359.0
256 bits ecdh (brainpoolP256t1) 0.0028s 357.7
384 bits ecdh (brainpoolP384r1) 0.0077s 129.5
384 bits ecdh (brainpoolP384t1) 0.0077s 130.1
512 bits ecdh (brainpoolP512r1) 0.0168s 59.5
512 bits ecdh (brainpoolP512t1) 0.0167s 59.8
253 bits ecdh (X25519) 0.0005s 2006.9
448 bits ecdh (X448) 0.0025s 404.0
sign verify sign/s verify/s
253 bits EdDSA (Ed25519) 0.0002s 0.0006s 5061.8 1801.2
456 bits EdDSA (Ed448) 0.0013s 0.0027s 782.9 368.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment