Crypto++ 5.6.5 Benchmarks

Here are speed benchmarks for some commonly used cryptographic algorithms.

CPU frequency of the test platform is 1.81899e+09 Hz.
AlgorithmMiB/SecondCycles Per ByteMicroseconds to
Setup Key and IV
Cycles to
Setup Key and IV
AES/GCM (2K tables)2178.00.7961448
AES/GCM (64K tables)2347.43.7266778
AES/CCM (128-bit key)12613.80.300545
AES/EAX (128-bit key)12513.80.6401164
GMAC(AES) (2K tables)8442.10.7951446
GMAC(AES) (64K tables)12321.43.7526825
VMAC(AES)-64 (128-bit key)79550.21.2102201
VMAC(AES)-128 (128-bit key)42230.41.4622659
HMAC(SHA-1) (128-bit key)2726.40.242440
Two-Track-MAC (160-bit key)2148.10.01426
CMAC(AES) (128-bit key)2217.90.230418
DMAC(AES) (128-bit key)2227.80.6001091
BLAKE2s (256-bit key)5703.00.225409
BLAKE2b (512-bit key)7582.30.263478
CRC324354.0
CRC32C42300.4
Adler3213151.3
MD55293.3
SHA-12736.4
SHA-2561869.3
SHA-5122357.4
Keccak-22415711.0
Keccak-25614811.7
Keccak-38411415.3
Keccak-5127822.1
SHA3-22415711.0
SHA3-25614911.7
SHA3-38411415.3
SHA3-5127922.0
Tiger4354.0
Whirlpool13512.9
RIPEMD-1602158.1
RIPEMD-3202327.5
RIPEMD-1283185.5
RIPEMD-2563445.0
BLAKE2s5483.2
BLAKE2b7572.3
Panama-LE (256-bit key)15241.10.7691399
Panama-BE (256-bit key)6802.61.4432625
Salsa20 (256-bit key)2108.30.137249
Salsa20/123355.20.164298
Salsa20/84743.70.164298
ChaCha20 (256-bit key)3275.30.089162
ChaCha12 (256-bit key)5123.40.088160
ChaCha8 (256-bit key)7262.40.090163
Sosemanuk (128-bit key)12661.40.458833
MARC4 (128-bit key)3934.41.4492636
SEAL-3.0-LE (160-bit key)6322.738.47069976
WAKE-OFB-LE (256-bit key)3325.21.7563194
AES/CTR (128-bit key)2856.10.243442
AES/CTR (192-bit key)2357.40.242440
AES/CTR (256-bit key)2008.70.256466
AES/CBC (128-bit key)2217.80.184334
AES/CBC (192-bit key)1899.20.186338
AES/CBC (256-bit key)16510.50.201366
AES/OFB (128-bit key)2138.10.231421
AES/CFB (128-bit key)2197.90.342622
AES/ECB (128-bit key)2317.50.092167
Camellia/CTR (128-bit key)11714.90.224408
Camellia/CTR (256-bit key)9218.90.249454
Twofish/CTR (128-bit key)14611.92.5424623
Serpent/CTR (128-bit key)7124.60.511930
CAST-256/CTR (128-bit key)7323.81.2522278
RC6/CTR (128-bit key)11914.52.0083653
MARS/CTR (128-bit key)8520.51.5012730
SHACAL-2/CTR (128-bit key)11415.20.305555
SHACAL-2/CTR (512-bit key)11415.20.314571
DES/CTR (64-bit key)6128.52.7585016
DES-XEX3/CTR (192-bit key)5730.42.8275143
DES-EDE3/CTR (192-bit key)2473.211.65421198
IDEA/CTR (128-bit key)7124.50.255464
RC5 (r=16)10516.51.6122933
Blowfish/CTR (128-bit key)10516.536.79966936
TEA/CTR (128-bit key)5829.80.204371
XTEA/CTR (128-bit key)5830.00.204372
CAST-128/CTR (128-bit key)8320.80.336612
SKIPJACK/CTR (80-bit key)3549.31.8353338
SEED/CTR (1/2 K table)5432.20.278505
OperationMilliseconds/OperationMegacycles/Operation
RSA 1024 Encryption0.020.04
RSA 1024 Decryption0.340.63
LUC 1024 Encryption0.020.04
LUC 1024 Decryption0.561.02
DLIES 1024 Encryption0.230.42
DLIES 1024 Encryption with precomputation0.420.77
DLIES 1024 Decryption0.330.61
LUCELG 512 Encryption0.150.27
LUCELG 512 Encryption with precomputation0.140.26
LUCELG 512 Decryption0.160.29
RSA 2048 Encryption0.040.07
RSA 2048 Decryption1.562.83
LUC 2048 Encryption0.050.08
LUC 2048 Decryption2.604.73
DLIES 2048 Encryption1.112.01
DLIES 2048 Encryption with precomputation1.272.30
DLIES 2048 Decryption1.071.94
LUCELG 1024 Encryption0.510.93
LUCELG 1024 Encryption with precomputation0.510.93
LUCELG 1024 Decryption0.470.85
RSA 1024 Signature0.340.63
RSA 1024 Verification0.020.04
RW 1024 Signature0.370.67
RW 1024 Signature with precomputation0.370.67
RW 1024 Verification0.010.02
LUC 1024 Signature0.571.04
LUC 1024 Verification0.020.04
NR 1024 Signature0.120.22
NR 1024 Signature with precomputation0.120.21
NR 1024 Verification0.130.24
NR 1024 Verification with precomputation0.180.33
DSA 1024 Signature0.120.23
DSA 1024 Signature with precomputation0.120.22
DSA 1024 Verification0.140.25
DSA 1024 Verification with precomputation0.190.34
LUC-HMP 512 Signature0.140.25
LUC-HMP 512 Signature with precomputation0.140.25
LUC-HMP 512 Verification0.140.25
LUC-HMP 512 Verification with precomputation0.140.25
ESIGN 1023 Signature0.060.10
ESIGN 1023 Verification0.020.03
ESIGN 1536 Signature0.090.17
ESIGN 1536 Verification0.030.06
RSA 2048 Signature1.552.81
RSA 2048 Verification0.040.07
RW 2048 Signature1.602.91
RW 2048 Signature with precomputation1.602.91
RW 2048 Verification0.020.04
LUC 2048 Signature2.574.67
LUC 2048 Verification0.050.08
NR 2048 Signature0.551.01
NR 2048 Signature with precomputation0.270.50
NR 2048 Verification0.621.14
NR 2048 Verification with precomputation0.430.78
LUC-HMP 1024 Signature0.500.90
LUC-HMP 1024 Signature with precomputation0.490.90
LUC-HMP 1024 Verification0.500.91
LUC-HMP 1024 Verification with precomputation0.510.93
ESIGN 2046 Signature0.120.21
ESIGN 2046 Verification0.040.07
XTR-DH 171 Key-Pair Generation0.170.31
XTR-DH 171 Key Agreement0.330.60
XTR-DH 342 Key-Pair Generation0.430.79
XTR-DH 342 Key Agreement0.851.54
DH 1024 Key-Pair Generation0.120.21
DH 1024 Key-Pair Generation with precomputation0.210.39
DH 1024 Key Agreement0.300.54
DH 2048 Key-Pair Generation0.561.02
DH 2048 Key-Pair Generation with precomputation0.631.15
DH 2048 Key Agreement1.021.86
LUCDIF 512 Key-Pair Generation0.070.13
LUCDIF 512 Key-Pair Generation with precomputation0.070.13
LUCDIF 512 Key Agreement0.150.27
LUCDIF 1024 Key-Pair Generation0.250.46
LUCDIF 1024 Key-Pair Generation with precomputation0.260.47
LUCDIF 1024 Key Agreement0.430.78
MQV 1024 Key-Pair Generation0.110.20
MQV 1024 Key-Pair Generation with precomputation0.120.21
MQV 1024 Key Agreement0.220.41
MQV 2048 Key-Pair Generation0.540.98
MQV 2048 Key-Pair Generation with precomputation0.270.49
MQV 2048 Key Agreement1.001.81
ECIES over GF(p) 256 Encryption1.402.55
ECIES over GF(p) 256 Encryption with precomputation1.192.17
ECIES over GF(p) 256 Decryption1.011.83
ECDSA over GF(p) 256 Signature0.721.30
ECDSA over GF(p) 256 Signature with precomputation0.611.12
ECDSA over GF(p) 256 Verification2.494.52
ECDSA over GF(p) 256 Verification with precomputation1.011.84
ECDHC over GF(p) 256 Key-Pair Generation0.731.32
ECDHC over GF(p) 256 Key-Pair Generation with precomputation0.621.12
ECDHC over GF(p) 256 Key Agreement0.691.26
ECMQVC over GF(p) 256 Key-Pair Generation0.711.29
ECMQVC over GF(p) 256 Key-Pair Generation with precomputation0.611.11
ECMQVC over GF(p) 256 Key Agreement2.534.60
ECIES over GF(2^n) 233 Encryption7.7014.00
ECIES over GF(2^n) 233 Encryption with precomputation2.123.86
ECIES over GF(2^n) 233 Decryption4.397.98
ECDSA over GF(2^n) 233 Signature3.877.04
ECDSA over GF(2^n) 233 Signature with precomputation1.081.97
ECDSA over GF(2^n) 233 Verification4.838.78
ECDSA over GF(2^n) 233 Verification with precomputation1.773.21
ECDHC over GF(2^n) 233 Key-Pair Generation3.937.14
ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation1.091.98
ECDHC over GF(2^n) 233 Key Agreement4.077.40
ECMQVC over GF(2^n) 233 Key-Pair Generation3.887.06
ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation1.081.97
ECMQVC over GF(2^n) 233 Key Agreement4.888.88
Throughput Geometric Average: 990.021173 Test ended at Tue Sep 27 02:18:43 2016