-
-
Save samueldr/d281dedc0ef2f4edd2aa0cc625039e4d to your computer and use it in GitHub Desktop.
cryptsetup benchmark rk3399
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nix-shell:~]$ cryptsetup benchmark | |
# Tests are approximate using memory only (no storage IO). | |
PBKDF2-sha1 833526 iterations per second for 256-bit key | |
PBKDF2-sha256 1721799 iterations per second for 256-bit key | |
PBKDF2-sha512 651289 iterations per second for 256-bit key | |
PBKDF2-ripemd160 402678 iterations per second for 256-bit key | |
PBKDF2-whirlpool 132663 iterations per second for 256-bit key | |
argon2i 4 iterations, 358766 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time) | |
argon2id 4 iterations, 358769 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time) | |
# Algorithm | Key | Encryption | Decryption | |
aes-cbc 128b 494.9 MiB/s 707.3 MiB/s | |
serpent-cbc 128b 40.2 MiB/s 42.9 MiB/s | |
twofish-cbc 128b 63.4 MiB/s 67.0 MiB/s | |
aes-cbc 256b 447.3 MiB/s 629.2 MiB/s | |
serpent-cbc 256b 41.9 MiB/s 42.9 MiB/s | |
twofish-cbc 256b 66.8 MiB/s 67.1 MiB/s | |
aes-xts 256b 556.2 MiB/s 571.1 MiB/s | |
serpent-xts 256b 43.6 MiB/s 46.5 MiB/s | |
twofish-xts 256b 74.2 MiB/s 77.1 MiB/s | |
aes-xts 512b 528.2 MiB/s 530.3 MiB/s | |
serpent-xts 512b 46.1 MiB/s 46.6 MiB/s | |
twofish-xts 512b 78.3 MiB/s 77.1 MiB/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment