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)2187.90.7691399
AES/GCM (64K tables)2357.43.6776689
AES/CCM (128-bit key)12513.90.308560
AES/EAX (128-bit key)12513.80.6281142
GMAC(AES) (2K tables)8512.00.7671395
GMAC(AES) (64K tables)12341.43.6786690
VMAC(AES)-64 (128-bit key)78220.21.1912167
VMAC(AES)-128 (128-bit key)41860.41.4392617
HMAC(SHA-1) (128-bit key)2646.60.260473
Two-Track-MAC (160-bit key)2138.20.01527
CMAC(AES) (128-bit key)2207.90.228415
DMAC(AES) (128-bit key)2217.80.7171304
BLAKE2s (256-bit key)5683.10.249453
BLAKE2b (512-bit key)7522.30.301548
CRC324354.0
CRC32C42580.4
Adler3213161.3
MD55313.3
SHA-12676.5
SHA-2561869.3
SHA-5122347.4
Keccak-22415711.0
Keccak-25614911.7
Keccak-38411415.2
Keccak-5127922.0
SHA3-22415711.0
SHA3-25614911.7
SHA3-38411415.2
SHA3-5127921.9
Tiger4324.0
Whirlpool13412.9
RIPEMD-1602168.0
RIPEMD-3202327.5
RIPEMD-1283195.4
RIPEMD-2563445.0
BLAKE2s5693.0
BLAKE2b7532.3
Panama-LE (256-bit key)16141.10.7771414
Panama-BE (256-bit key)6852.51.4282597
Salsa20 (256-bit key)2108.30.144261
Salsa20/123325.20.167303
Salsa20/84713.70.166301
ChaCha20 (256-bit key)3245.30.090164
ChaCha12 (256-bit key)5233.30.093169
ChaCha8 (256-bit key)7122.40.092167
Sosemanuk (128-bit key)12611.40.474863
MARC4 (128-bit key)3864.51.4072558
SEAL-3.0-LE (160-bit key)6422.737.37867990
WAKE-OFB-LE (256-bit key)3285.31.7283143
AES/CTR (128-bit key)2896.00.243443
AES/CTR (192-bit key)2397.30.246447
AES/CTR (256-bit key)2018.60.261476
AES/CBC (128-bit key)2217.90.185336
AES/CBC (192-bit key)1899.20.187341
AES/CBC (256-bit key)16410.60.203370
AES/OFB (128-bit key)2148.10.236430
AES/CFB (128-bit key)2207.90.345627
AES/ECB (128-bit key)2307.50.093168
Camellia/CTR (128-bit key)11714.90.228415
Camellia/CTR (256-bit key)9218.90.252459
Twofish/CTR (128-bit key)14512.02.5804693
Serpent/CTR (128-bit key)6925.10.466848
CAST-256/CTR (128-bit key)7423.41.2292235
RC6/CTR (128-bit key)12114.32.0333699
MARS/CTR (128-bit key)8320.91.5082743
SHACAL-2/CTR (128-bit key)11415.20.311565
SHACAL-2/CTR (512-bit key)11515.10.319581
DES/CTR (64-bit key)6128.32.5674669
DES-XEX3/CTR (192-bit key)5730.32.5864703
DES-EDE3/CTR (192-bit key)2473.38.17814876
IDEA/CTR (128-bit key)7124.40.260473
RC5 (r=16)10516.51.5862885
Blowfish/CTR (128-bit key)10516.536.77766898
TEA/CTR (128-bit key)5929.20.212385
XTEA/CTR (128-bit key)5829.80.212386
CAST-128/CTR (128-bit key)8320.90.344626
SKIPJACK/CTR (80-bit key)3648.61.8233317
SEED/CTR (1/2 K table)5332.40.286520
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.220.41
DLIES 1024 Encryption with precomputation0.420.76
DLIES 1024 Decryption0.310.57
LUCELG 512 Encryption0.140.25
LUCELG 512 Encryption with precomputation0.140.25
LUCELG 512 Decryption0.150.27
RSA 2048 Encryption0.040.07
RSA 2048 Decryption1.542.80
LUC 2048 Encryption0.050.08
LUC 2048 Decryption2.564.67
DLIES 2048 Encryption1.071.95
DLIES 2048 Encryption with precomputation1.222.22
DLIES 2048 Decryption1.031.88
LUCELG 1024 Encryption0.500.90
LUCELG 1024 Encryption with precomputation0.490.90
LUCELG 1024 Decryption0.430.78
RSA 1024 Signature0.340.62
RSA 1024 Verification0.020.04
RW 1024 Signature0.370.66
RW 1024 Signature with precomputation0.370.67
RW 1024 Verification0.010.02
LUC 1024 Signature0.551.00
LUC 1024 Verification0.020.04
NR 1024 Signature0.120.21
NR 1024 Signature with precomputation0.120.21
NR 1024 Verification0.130.24
NR 1024 Verification with precomputation0.190.34
DSA 1024 Signature0.120.22
DSA 1024 Signature with precomputation0.120.22
DSA 1024 Verification0.140.25
DSA 1024 Verification with precomputation0.180.34
LUC-HMP 512 Signature0.130.24
LUC-HMP 512 Signature with precomputation0.130.24
LUC-HMP 512 Verification0.130.25
LUC-HMP 512 Verification with precomputation0.140.25
ESIGN 1023 Signature0.060.11
ESIGN 1023 Verification0.020.03
ESIGN 1536 Signature0.090.17
ESIGN 1536 Verification0.030.06
RSA 2048 Signature1.542.81
RSA 2048 Verification0.040.07
RW 2048 Signature1.582.88
RW 2048 Signature with precomputation1.592.89
RW 2048 Verification0.020.04
LUC 2048 Signature2.574.68
LUC 2048 Verification0.040.08
NR 2048 Signature0.540.99
NR 2048 Signature with precomputation0.270.50
NR 2048 Verification0.611.11
NR 2048 Verification with precomputation0.430.79
LUC-HMP 1024 Signature0.490.90
LUC-HMP 1024 Signature with precomputation0.500.91
LUC-HMP 1024 Verification0.500.91
LUC-HMP 1024 Verification with precomputation0.500.91
ESIGN 2046 Signature0.120.21
ESIGN 2046 Verification0.040.06
XTR-DH 171 Key-Pair Generation0.160.30
XTR-DH 171 Key Agreement0.320.59
XTR-DH 342 Key-Pair Generation0.420.77
XTR-DH 342 Key Agreement0.851.54
DH 1024 Key-Pair Generation0.120.21
DH 1024 Key-Pair Generation with precomputation0.220.39
DH 1024 Key Agreement0.310.56
DH 2048 Key-Pair Generation0.551.00
DH 2048 Key-Pair Generation with precomputation0.631.15
DH 2048 Key Agreement1.041.90
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.260.47
LUCDIF 1024 Key-Pair Generation with precomputation0.250.46
LUCDIF 1024 Key Agreement0.430.79
MQV 1024 Key-Pair Generation0.120.21
MQV 1024 Key-Pair Generation with precomputation0.110.21
MQV 1024 Key Agreement0.220.41
MQV 2048 Key-Pair Generation0.551.00
MQV 2048 Key-Pair Generation with precomputation0.270.49
MQV 2048 Key Agreement0.991.79
ECIES over GF(p) 256 Encryption1.402.55
ECIES over GF(p) 256 Encryption with precomputation1.182.15
ECIES over GF(p) 256 Decryption0.991.80
ECDSA over GF(p) 256 Signature0.711.30
ECDSA over GF(p) 256 Signature with precomputation0.611.11
ECDSA over GF(p) 256 Verification2.494.53
ECDSA over GF(p) 256 Verification with precomputation1.011.83
ECDHC over GF(p) 256 Key-Pair Generation0.701.27
ECDHC over GF(p) 256 Key-Pair Generation with precomputation0.601.09
ECDHC over GF(p) 256 Key Agreement0.721.31
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.484.51
ECIES over GF(2^n) 233 Encryption7.7114.03
ECIES over GF(2^n) 233 Encryption with precomputation2.133.87
ECIES over GF(2^n) 233 Decryption4.347.90
ECDSA over GF(2^n) 233 Signature3.887.07
ECDSA over GF(2^n) 233 Signature with precomputation1.091.98
ECDSA over GF(2^n) 233 Verification4.718.57
ECDSA over GF(2^n) 233 Verification with precomputation1.833.33
ECDHC over GF(2^n) 233 Key-Pair Generation3.836.97
ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation1.071.94
ECDHC over GF(2^n) 233 Key Agreement3.907.09
ECMQVC over GF(2^n) 233 Key-Pair Generation3.846.98
ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation1.061.93
ECMQVC over GF(2^n) 233 Key Agreement4.818.75
Throughput Geometric Average: 997.032044 Test ended at Tue Sep 27 01:43:06 2016