Contents
๐ง Interested but not implemented yet โ Implemented โ Not Interested
Hardware: | MacBook Pro(Retina, 15-inch, Mid 2015) |
---|---|
CPU: | 2.2 GHz Quad-Core Intel Core i7 |
OpenSSL:
sm4-ecb 92 mb/s aria-128-ecb 127 mb/s camellia-128-ecb 141 mb/s aes-128-ecb 636 mb/s aes-128-gcm 356 mb/s aes-128-ccm 133 mb/s aes-128-ocb 346 mb/s aria-128-gcm 103 mb/s aria-128-ccm 31 mb/s chacha20 538 mb/s chacha20-poly1305 417 mb/s sha256 89 mb/s sm3 68 mb/s
Rust Crypto:
test blockcipher::bench_aes128_enc ... bench: 3 ns/iter (+/- 0) = 5333 MB/s test blockcipher::bench_aes256_enc ... bench: 6 ns/iter (+/- 1) = 2666 MB/s test blockcipher::bench_aria128_enc ... bench: 347 ns/iter (+/- 33) = 46 MB/s test blockcipher::bench_aria256_enc ... bench: 444 ns/iter (+/- 25) = 36 MB/s test blockcipher::bench_camellia128_enc ... bench: 106 ns/iter (+/- 17) = 150 MB/s test blockcipher::bench_camellia256_enc ... bench: 133 ns/iter (+/- 11) = 120 MB/s test blockcipher::bench_sm4_enc ... bench: 210 ns/iter (+/- 27) = 76 MB/s test streamcipher::bench_chacha20 ... bench: 203 ns/iter (+/- 22) = 315 MB/s test aeadcipher::bench_aes128_ccm_enc ... bench: 60 ns/iter (+/- 7) = 266 MB/s test aeadcipher::bench_aes128_gcm_enc ... bench: 40 ns/iter (+/- 1) = 400 MB/s test aeadcipher::bench_aes128_gcm_siv_enc ... bench: 75 ns/iter (+/- 3) = 213 MB/s test aeadcipher::bench_aes128_ocb_tag_128_enc ... bench: 9 ns/iter (+/- 1) = 1777 MB/s test aeadcipher::bench_aes_siv_cmac_256_enc ... bench: 117 ns/iter (+/- 16) = 136 MB/s test aeadcipher::bench_chacha20_poly1305_enc ... bench: 359 ns/iter (+/- 27) = 178 MB/s test hash::bench_sha256 ... bench: 651 ns/iter (+/- 39) = 98 MB/s test hash::bench_sm3 ... bench: 800 ns/iter (+/- 48) = 80 MB/s
Platform: | Huawei Cloud - Kunpeng General Computing-plus KC1 ECS ๏ผkc1.small.1 | 1vCPUs | 1GB๏ผ |
---|---|
CPU: | Huawei Kunpeng 920 2.6GHz |
OS: | Debian 10.2.0 64bit for ARM |
OpenSSL:
sm4-ecb 73 mb/s aria-128-ecb 87 mb/s camellia-128-ecb 100 mb/s aes-128-ecb 577 mb/s aes-128-gcm 342 mb/s aes-128-ccm 133 mb/s aes-128-ocb 318 mb/s aria-128-gcm 79 mb/s aria-128-ccm 21 mb/s chacha20 377 mb/s chacha20-poly1305 312 mb/s sm3 84 mb/s sha256 190 mb/s
Rust Crypto:
test aeadcipher::bench_aes128_ccm_enc ... bench: 25 ns/iter (+/- 0) = 640 MB/s test aeadcipher::bench_aes128_gcm_enc ... bench: 27 ns/iter (+/- 0) = 592 MB/s test aeadcipher::bench_aes128_gcm_siv_enc ... bench: 79 ns/iter (+/- 0) = 202 MB/s test aeadcipher::bench_aes128_ocb_tag_128_enc ... bench: 21 ns/iter (+/- 0) = 761 MB/s test aeadcipher::bench_aes_siv_cmac_256_enc ... bench: 63 ns/iter (+/- 0) = 262 MB/s test aeadcipher::bench_chacha20_poly1305_enc ... bench: 436 ns/iter (+/- 7) = 146 MB/s test blockcipher::bench_aes128_enc ... bench: 6 ns/iter (+/- 0) = 2666 MB/s test blockcipher::bench_aes256_enc ... bench: 10 ns/iter (+/- 0) = 1600 MB/s test blockcipher::bench_aria128_enc ... bench: 289 ns/iter (+/- 2) = 55 MB/s test blockcipher::bench_aria256_enc ... bench: 390 ns/iter (+/- 4) = 41 MB/s test blockcipher::bench_camellia128_enc ... bench: 135 ns/iter (+/- 1) = 118 MB/s test blockcipher::bench_camellia256_enc ... bench: 177 ns/iter (+/- 1) = 90 MB/s test blockcipher::bench_sm4_enc ... bench: 434 ns/iter (+/- 3) = 36 MB/s test blockmode::cfb::bench_aes128_cfb128_enc ... bench: 20 ns/iter (+/- 0) = 800 MB/s test blockmode::ofb::bench_aes128_ofb_enc ... bench: 20 ns/iter (+/- 0) = 800 MB/s test hash::bench_sha256 ... bench: 103 ns/iter (+/- 0) = 621 MB/s test hash::bench_sm3 ... bench: 1,024 ns/iter (+/- 10) = 62 MB/s test mac::bench_ghash ... bench: 0 ns/iter (+/- 0) = 16000 MB/s test mac::bench_poly1305 ... bench: 21 ns/iter (+/- 0) = 761 MB/s test mac::bench_polyval ... bench: 0 ns/iter (+/- 8) = 16000 MB/s test streamcipher::bench_chacha20 ... bench: 320 ns/iter (+/- 6) = 200 MB/s
X86/X86-64:
- โ AES
- โ CLMUL
- โ SHA๏ผSHA1๏ผ
- โ SHA๏ผSHA2-256๏ผ
AArch64:
- โ AES
- โ PMULL
- โ SHA1
- โ SHA2 ๏ผSHA2-256๏ผ
- โ SHA512 (SHA2-512)
- โ SHA3
- โ SM3
- โ SM4
- โ MD2
- โ MD4
- โ MD5
- โ MD6
- โ SHA1
- โ SHA2-256
- โ SHA2-384
- โ SHA2-512
- ๐ง SHA3-256
- ๐ง SHA3-384
- ๐ง SHA3-512
- โ SM3
- โ BLAKE2b
- โ BLAKE2s
- โ BLAKE3
- โ RIPEMD
- โ Whirlpool
- ๐ง GOST
- โ DES
- โ 3DES
- โ RC2 (or: ARC2)
- ๐ง RC5
- โ RC6
- โ AES
- โ SM4
- โ Camellia
- โ ARIA
- ๐ง GOST๏ผMagmaใKuznyechik๏ผ
- โ Blowfish
- โ Twofish
- โ Threefish
- โ RC4
- โ Chacha20
- ๐ง ZUC (in Chinese: ็ฅๅฒไน็ฎๆณ)
- โ RSA
- โ ED25519
- ๐ง SM2 ๏ผๅบไบๆคญๅๆฒ็บฟ๏ผ็ญพๅ็ฎๆณใๅฏ้ฅไบคๆข็ฎๆณใๅ ๅฏ็ฎๆณ๏ผ
- ๐ง SM9 ๏ผๅบไบ็ฆปๆฃๅฏนๆฐ็ๆบๅถ๏ผ็ญพๅ็ฎๆณใๅฏ้ฅไบคๆข็ฎๆณใๅ ๅฏ็ฎๆณ๏ผ
- โ Chacha20Poly1305 (RFC7539)
- ๐ง Chacha20Poly1305OpenSSH
- โ AES-CCM
- โ AES-OCB
- โ AES-GCM
- โ AES-GCM-SIV
- โ AES-SIV (AesSivCmac256ใAesSivCmac384ใAesSivCmac512)
- โ CAMELLIA-CCM
- โ CAMELLIA-GCM
- โ CAMELLIA-GCM-SIV
- โ ARIA-CCM
- โ ARIA-GCM
- โ ARIA-GCM-SIV
- โ SM4-CCM
- โ SM4-GCM
- โ SM4-GCM-SIV
- โ AES-ECB
- โ AES-CBC
- ๐ง AES-PCBC
- โ AES-CFB1
- โ AES-CFB8
- โ AES-CFB64
- โ AES-CFB128
- โ AES-OFB
- โ AES-CTR
- โ CAMELLIA-CBC
- โ CAMELLIA-CFB1
- โ CAMELLIA-CFB8
- โ CAMELLIA-CFB64
- โ CAMELLIA-CFB128
- โ CAMELLIA-OFB
- โ CAMELLIA-CTR
- โ ARIA-CBC
- โ ARIA-CFB1
- โ ARIA-CFB8
- โ ARIA-CFB64
- โ ARIA-CFB128
- โ ARIA-OFB
- โ ARIA-CTR
- โ SM4-CBC
- โ SM4-CFB1
- โ SM4-CFB8
- โ SM4-CFB64
- โ SM4-CFB128
- โ SM4-OFB
- โ SM4-CTR
- โ HKDF
- ๐ง Scrypt
- โ PBKDF2
- โ HMAC
- โ Poly1305
- โ GMAC
- โ CBC-Mac
- โ CMac
- ๐ง bcrypt