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/GCM8872.00.491893
AES/CCM (128-bit key)4523.80.311565
AES/EAX (128-bit key)4603.80.400728
GMAC(AES)15051.20.493896
VMAC(AES)-64 (128-bit key)77440.20.6531188
VMAC(AES)-128 (128-bit key)40070.40.7401346
HMAC(SHA-1) (128-bit key)2686.50.259472
Two-Track-MAC (160-bit key)2118.20.01528
CMAC(AES) (128-bit key)5843.00.153278
DMAC(AES) (128-bit key)5833.00.431784
BLAKE2s (256-bit key)5693.00.250455
BLAKE2b (512-bit key)7512.30.295536
CRC324254.1
CRC32C41240.4
Adler3212811.4
MD55283.3
SHA-12656.5
SHA-2561819.6
SHA-5122297.6
Keccak-22415111.5
Keccak-25614711.8
Keccak-38411215.5
Keccak-5127922.0
SHA3-22415811.0
SHA3-25614811.7
SHA3-38411415.2
SHA3-5127921.9
Tiger4364.0
Whirlpool13512.9
RIPEMD-1602178.0
RIPEMD-3202337.5
RIPEMD-1283185.5
RIPEMD-2563465.0
BLAKE2s5703.0
BLAKE2b7452.3
Panama-LE (256-bit key)16061.10.7711403
Panama-BE (256-bit key)6402.71.4252592
Salsa20 (256-bit key)2108.30.141256
Salsa20/123345.20.171311
Salsa20/84783.60.175318
ChaCha20 (256-bit key)3175.50.095172
ChaCha12 (256-bit key)5173.40.093169
ChaCha8 (256-bit key)7132.40.093169
Sosemanuk (128-bit key)12691.40.457830
MARC4 (128-bit key)3954.41.3972541
SEAL-3.0-LE (160-bit key)6512.737.30367855
WAKE-OFB-LE (256-bit key)3345.21.7253137
AES/CTR (128-bit key)23500.70.236430
AES/CTR (192-bit key)20000.90.228415
AES/CTR (256-bit key)17361.00.248451
AES/CBC (128-bit key)5902.90.180327
AES/CBC (192-bit key)4993.50.170310
AES/CBC (256-bit key)4334.00.190345
AES/OFB (128-bit key)5533.10.232422
AES/CFB (128-bit key)5743.00.258469
AES/ECB (128-bit key)28240.60.083151
Camellia/CTR (128-bit key)11614.90.229416
Camellia/CTR (256-bit key)9218.90.253460
Twofish/CTR (128-bit key)14611.92.5314604
Serpent/CTR (128-bit key)7124.50.461838
CAST-256/CTR (128-bit key)7523.31.2222223
RC6/CTR (128-bit key)12114.32.1203857
MARS/CTR (128-bit key)8520.41.4892708
SHACAL-2/CTR (128-bit key)11415.20.312568
SHACAL-2/CTR (512-bit key)11515.10.318578
DES/CTR (64-bit key)6128.42.5704674
DES-XEX3/CTR (192-bit key)5730.42.5934716
DES-EDE3/CTR (192-bit key)2473.48.21214938
IDEA/CTR (128-bit key)7124.40.261474
RC5 (r=16)10217.01.7023096
Blowfish/CTR (128-bit key)10316.836.86067048
TEA/CTR (128-bit key)5929.50.230418
XTEA/CTR (128-bit key)5829.90.230419
CAST-128/CTR (128-bit key)8320.90.344625
SKIPJACK/CTR (80-bit key)3549.11.8503366
SEED/CTR (1/2 K table)5432.30.282514
OperationMilliseconds/OperationMegacycles/Operation
RSA 1024 Encryption0.020.04
RSA 1024 Decryption0.340.62
LUC 1024 Encryption0.020.04
LUC 1024 Decryption0.561.02
DLIES 1024 Encryption0.230.41
DLIES 1024 Encryption with precomputation0.420.77
DLIES 1024 Decryption0.320.59
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.572.85
LUC 2048 Encryption0.050.08
LUC 2048 Decryption2.544.62
DLIES 2048 Encryption1.091.98
DLIES 2048 Encryption with precomputation1.252.27
DLIES 2048 Decryption1.041.90
LUCELG 1024 Encryption0.500.91
LUCELG 1024 Encryption with precomputation0.500.90
LUCELG 1024 Decryption0.430.78
RSA 1024 Signature0.350.63
RSA 1024 Verification0.020.04
RW 1024 Signature0.370.68
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.22
NR 1024 Signature with precomputation0.120.22
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.130.24
DSA 1024 Verification with precomputation0.190.35
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.11
ESIGN 1023 Verification0.020.03
ESIGN 1536 Signature0.100.17
ESIGN 1536 Verification0.030.06
RSA 2048 Signature1.602.91
RSA 2048 Verification0.040.07
RW 2048 Signature1.642.98
RW 2048 Signature with precomputation1.673.04
RW 2048 Verification0.020.04
LUC 2048 Signature2.604.74
LUC 2048 Verification0.050.08
NR 2048 Signature0.571.03
NR 2048 Signature with precomputation0.280.51
NR 2048 Verification0.631.14
NR 2048 Verification with precomputation0.410.74
LUC-HMP 1024 Signature0.500.90
LUC-HMP 1024 Signature with precomputation0.520.94
LUC-HMP 1024 Verification0.510.92
LUC-HMP 1024 Verification with precomputation0.510.92
ESIGN 2046 Signature0.120.21
ESIGN 2046 Verification0.040.07
XTR-DH 171 Key-Pair Generation0.170.31
XTR-DH 171 Key Agreement0.330.61
XTR-DH 342 Key-Pair Generation0.440.79
XTR-DH 342 Key Agreement0.881.59
DH 1024 Key-Pair Generation0.120.22
DH 1024 Key-Pair Generation with precomputation0.220.40
DH 1024 Key Agreement0.330.60
DH 2048 Key-Pair Generation0.561.02
DH 2048 Key-Pair Generation with precomputation0.641.16
DH 2048 Key Agreement1.051.91
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.250.46
LUCDIF 1024 Key Agreement0.430.79
MQV 1024 Key-Pair Generation0.110.21
MQV 1024 Key-Pair Generation with precomputation0.110.20
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 Agreement1.011.85
ECIES over GF(p) 256 Encryption1.412.56
ECIES over GF(p) 256 Encryption with precomputation1.202.18
ECIES over GF(p) 256 Decryption0.991.79
ECDSA over GF(p) 256 Signature0.721.31
ECDSA over GF(p) 256 Signature with precomputation0.611.12
ECDSA over GF(p) 256 Verification2.504.54
ECDSA over GF(p) 256 Verification with precomputation1.001.82
ECDHC over GF(p) 256 Key-Pair Generation0.711.28
ECDHC over GF(p) 256 Key-Pair Generation with precomputation0.621.13
ECDHC over GF(p) 256 Key Agreement0.721.31
ECMQVC over GF(p) 256 Key-Pair Generation0.711.29
ECMQVC over GF(p) 256 Key-Pair Generation with precomputation0.601.09
ECMQVC over GF(p) 256 Key Agreement2.544.62
ECIES over GF(2^n) 233 Encryption7.7714.13
ECIES over GF(2^n) 233 Encryption with precomputation2.143.89
ECIES over GF(2^n) 233 Decryption4.428.04
ECDSA over GF(2^n) 233 Signature3.947.16
ECDSA over GF(2^n) 233 Signature with precomputation1.081.97
ECDSA over GF(2^n) 233 Verification4.858.83
ECDSA over GF(2^n) 233 Verification with precomputation1.793.25
ECDHC over GF(2^n) 233 Key-Pair Generation3.897.08
ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation1.071.95
ECDHC over GF(2^n) 233 Key Agreement3.937.15
ECMQVC over GF(2^n) 233 Key-Pair Generation3.887.05
ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation1.081.96
ECMQVC over GF(2^n) 233 Key Agreement4.908.91
Throughput Geometric Average: 1110.724645 Test ended at Mon Sep 26 23:32:16 2016