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)2188.00.7611383
AES/GCM (64K tables)2317.53.7766868
AES/CCM (128-bit key)12613.80.319580
AES/EAX (128-bit key)12513.80.6431169
GMAC(AES) (2K tables)8522.00.7611384
GMAC(AES) (64K tables)12331.43.7046737
VMAC(AES)-64 (128-bit key)79530.21.1582107
VMAC(AES)-128 (128-bit key)41970.41.4242591
HMAC(SHA-1) (128-bit key)2766.30.258470
Two-Track-MAC (160-bit key)2158.10.01426
CMAC(AES) (128-bit key)2207.90.226412
DMAC(AES) (128-bit key)2217.80.8471541
BLAKE2s (256-bit key)5683.10.224407
BLAKE2b (512-bit key)7732.20.273496
CRC324344.0
CRC32C42640.4
Adler3213101.3
MD55293.3
SHA-12756.3
SHA-2561869.4
SHA-5122347.4
Keccak-22415811.0
Keccak-25614911.6
Keccak-38411415.2
Keccak-5127921.9
SHA3-22415811.0
SHA3-25614911.7
SHA3-38411415.2
SHA3-5127921.9
Tiger4354.0
Whirlpool13413.0
RIPEMD-1602158.1
RIPEMD-3202337.5
RIPEMD-1283185.5
RIPEMD-2563455.0
BLAKE2s5693.0
BLAKE2b7612.3
Panama-LE (256-bit key)16031.10.7701401
Panama-BE (256-bit key)6882.51.4232588
Salsa20 (256-bit key)2098.30.132240
Salsa20/123355.20.161293
Salsa20/84773.60.161293
ChaCha20 (256-bit key)3285.30.087158
ChaCha12 (256-bit key)5093.40.087159
ChaCha8 (256-bit key)7252.40.088159
Sosemanuk (128-bit key)12621.40.453825
MARC4 (128-bit key)3954.41.4022550
SEAL-3.0-LE (160-bit key)6512.737.32267889
WAKE-OFB-LE (256-bit key)3295.31.7183125
AES/CTR (128-bit key)2945.90.237431
AES/CTR (192-bit key)2407.20.239435
AES/CTR (256-bit key)2038.60.255464
AES/CBC (128-bit key)2227.80.181330
AES/CBC (192-bit key)1899.20.184334
AES/CBC (256-bit key)16510.50.201366
AES/OFB (128-bit key)2148.10.232422
AES/CFB (128-bit key)2207.90.333606
AES/ECB (128-bit key)2307.60.092168
Camellia/CTR (128-bit key)11614.90.224407
Camellia/CTR (256-bit key)9119.00.247449
Twofish/CTR (128-bit key)14611.92.5264594
Serpent/CTR (128-bit key)7124.50.457831
CAST-256/CTR (128-bit key)7423.41.2302237
RC6/CTR (128-bit key)12114.31.9823605
MARS/CTR (128-bit key)8620.21.4922714
SHACAL-2/CTR (128-bit key)11415.20.307559
SHACAL-2/CTR (512-bit key)11415.20.315572
DES/CTR (64-bit key)6128.52.5254593
DES-XEX3/CTR (192-bit key)5730.42.5464632
DES-EDE3/CTR (192-bit key)2473.58.15814840
IDEA/CTR (128-bit key)7124.40.255464
RC5 (r=16)10516.61.5822877
Blowfish/CTR (128-bit key)10416.636.79666931
TEA/CTR (128-bit key)5929.40.206375
XTEA/CTR (128-bit key)5829.90.205373
CAST-128/CTR (128-bit key)8321.00.339616
SKIPJACK/CTR (80-bit key)3648.71.8353337
SEED/CTR (1/2 K table)5432.40.280509
OperationMilliseconds/OperationMegacycles/Operation
RSA 1024 Encryption0.020.04
RSA 1024 Decryption0.340.62
LUC 1024 Encryption0.020.04
LUC 1024 Decryption0.551.00
DLIES 1024 Encryption0.230.42
DLIES 1024 Encryption with precomputation0.420.77
DLIES 1024 Decryption0.330.60
LUCELG 512 Encryption0.140.25
LUCELG 512 Encryption with precomputation0.140.25
LUCELG 512 Decryption0.140.26
RSA 2048 Encryption0.040.07
RSA 2048 Decryption1.542.81
LUC 2048 Encryption0.050.08
LUC 2048 Decryption2.564.66
DLIES 2048 Encryption1.071.95
DLIES 2048 Encryption with precomputation1.212.21
DLIES 2048 Decryption1.031.88
LUCELG 1024 Encryption0.500.90
LUCELG 1024 Encryption with precomputation0.490.90
LUCELG 1024 Decryption0.430.79
RSA 1024 Signature0.340.62
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.561.02
LUC 1024 Verification0.020.04
NR 1024 Signature0.120.21
NR 1024 Signature with precomputation0.120.22
NR 1024 Verification0.130.24
NR 1024 Verification with precomputation0.190.35
DSA 1024 Signature0.120.22
DSA 1024 Signature with precomputation0.120.22
DSA 1024 Verification0.130.24
DSA 1024 Verification with precomputation0.190.34
LUC-HMP 512 Signature0.130.24
LUC-HMP 512 Signature with precomputation0.130.24
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.82
RSA 2048 Verification0.040.07
RW 2048 Signature1.612.92
RW 2048 Signature with precomputation1.602.90
RW 2048 Verification0.020.04
LUC 2048 Signature2.614.75
LUC 2048 Verification0.040.08
NR 2048 Signature0.551.00
NR 2048 Signature with precomputation0.280.51
NR 2048 Verification0.611.12
NR 2048 Verification with precomputation0.420.76
LUC-HMP 1024 Signature0.500.92
LUC-HMP 1024 Signature with precomputation0.500.91
LUC-HMP 1024 Verification0.510.93
LUC-HMP 1024 Verification with precomputation0.520.94
ESIGN 2046 Signature0.120.21
ESIGN 2046 Verification0.040.06
XTR-DH 171 Key-Pair Generation0.170.30
XTR-DH 171 Key Agreement0.330.60
XTR-DH 342 Key-Pair Generation0.430.78
XTR-DH 342 Key Agreement0.861.56
DH 1024 Key-Pair Generation0.120.21
DH 1024 Key-Pair Generation with precomputation0.210.39
DH 1024 Key Agreement0.320.58
DH 2048 Key-Pair Generation0.551.00
DH 2048 Key-Pair Generation with precomputation0.631.15
DH 2048 Key Agreement1.041.89
LUCDIF 512 Key-Pair Generation0.070.13
LUCDIF 512 Key-Pair Generation with precomputation0.070.13
LUCDIF 512 Key Agreement0.140.26
LUCDIF 1024 Key-Pair Generation0.250.46
LUCDIF 1024 Key-Pair Generation with precomputation0.250.46
LUCDIF 1024 Key Agreement0.440.80
MQV 1024 Key-Pair Generation0.110.20
MQV 1024 Key-Pair Generation with precomputation0.110.20
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.412.57
ECIES over GF(p) 256 Encryption with precomputation1.202.19
ECIES over GF(p) 256 Decryption1.001.82
ECDSA over GF(p) 256 Signature0.721.31
ECDSA over GF(p) 256 Signature with precomputation0.621.12
ECDSA over GF(p) 256 Verification2.474.50
ECDSA over GF(p) 256 Verification with precomputation1.021.85
ECDHC over GF(p) 256 Key-Pair Generation0.711.29
ECDHC over GF(p) 256 Key-Pair Generation with precomputation0.601.09
ECDHC over GF(p) 256 Key Agreement0.711.29
ECMQVC over GF(p) 256 Key-Pair Generation0.701.28
ECMQVC over GF(p) 256 Key-Pair Generation with precomputation0.601.08
ECMQVC over GF(p) 256 Key Agreement2.504.55
ECIES over GF(2^n) 233 Encryption7.6913.98
ECIES over GF(2^n) 233 Encryption with precomputation2.133.87
ECIES over GF(2^n) 233 Decryption4.448.08
ECDSA over GF(2^n) 233 Signature3.867.03
ECDSA over GF(2^n) 233 Signature with precomputation1.081.97
ECDSA over GF(2^n) 233 Verification4.808.74
ECDSA over GF(2^n) 233 Verification with precomputation1.833.33
ECDHC over GF(2^n) 233 Key-Pair Generation3.857.01
ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation1.061.94
ECDHC over GF(2^n) 233 Key Agreement3.927.13
ECMQVC over GF(2^n) 233 Key-Pair Generation3.857.01
ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation1.061.94
ECMQVC over GF(2^n) 233 Key Agreement4.858.82
Throughput Geometric Average: 995.348464 Test ended at Tue Sep 27 02:03:40 2016