On Friday, 13 October 2023 02:35:21 BST Dale wrote:

> root@fireball / # cryptsetup benchmark
> # Tests are approximate using memory only (no storage IO).
> PBKDF2-sha1       878204 iterations per second for 256-bit key
> PBKDF2-sha256     911805 iterations per second for 256-bit key
> PBKDF2-sha512     698119 iterations per second for 256-bit key
> PBKDF2-ripemd160  548418 iterations per second for 256-bit key
> PBKDF2-whirlpool  299251 iterations per second for 256-bit key
> argon2i       4 iterations, 1048576 memory, 4 parallel threads (CPUs)
> for 256-bit key (requested 2000 ms time)
> argon2id      4 iterations, 1048576 memory, 4 parallel threads (CPUs)
> for 256-bit key (requested 2000 ms time)
> #     Algorithm |       Key |      Encryption |      Decryption
>         aes-cbc        128b        63.8 MiB/s        51.4 MiB/s
>     serpent-cbc        128b        90.9 MiB/s       307.6 MiB/s
>     twofish-cbc        128b       200.4 MiB/s       218.4 MiB/s
>         aes-cbc        256b        54.6 MiB/s        37.5 MiB/s
>     serpent-cbc        256b        90.4 MiB/s       302.6 MiB/s
>     twofish-cbc        256b       198.2 MiB/s       216.7 MiB/s
>         aes-xts        256b        68.0 MiB/s        45.0 MiB/s
>     serpent-xts        256b       231.9 MiB/s       227.6 MiB/s
>     twofish-xts        256b       191.8 MiB/s       163.1 MiB/s
>         aes-xts        512b        42.4 MiB/s        18.9 MiB/s
>     serpent-xts        512b       100.9 MiB/s       124.6 MiB/s
>     twofish-xts        512b       154.8 MiB/s       173.3 MiB/s
> root@fireball / #
> 
> 
> 
> root@nas:~# cryptsetup benchmark
> # Tests are approximate using memory only (no storage IO).
> PBKDF2-sha1       741567 iterations per second for 256-bit key
> PBKDF2-sha256     910222 iterations per second for 256-bit key
> PBKDF2-sha512     781353 iterations per second for 256-bit key
> PBKDF2-ripemd160  547845 iterations per second for 256-bit key
> PBKDF2-whirlpool  350929 iterations per second for 256-bit key
> argon2i       4 iterations, 571787 memory, 4 parallel threads (CPUs) for
> 256-bit key (requested 2000 ms time)
> argon2id      4 iterations, 524288 memory, 4 parallel threads (CPUs) for
> 256-bit key (requested 2000 ms time)
> #     Algorithm |       Key |      Encryption |      Decryption
>         aes-cbc        128b       130.6 MiB/s       128.0 MiB/s
>     serpent-cbc        128b        64.7 MiB/s       161.8 MiB/s
>     twofish-cbc        128b       175.4 MiB/s       218.8 MiB/s
>         aes-cbc        256b       120.1 MiB/s       122.2 MiB/s
>     serpent-cbc        256b        84.5 MiB/s       210.8 MiB/s
>     twofish-cbc        256b       189.5 MiB/s       218.6 MiB/s
>         aes-xts        256b       167.0 MiB/s       162.1 MiB/s
>     serpent-xts        256b       173.9 MiB/s       204.5 MiB/s
>     twofish-xts        256b       204.4 MiB/s       213.2 MiB/s
>         aes-xts        512b       127.9 MiB/s       122.9 MiB/s
>     serpent-xts        512b       201.5 MiB/s       204.7 MiB/s
>     twofish-xts        512b       215.0 MiB/s       213.0 MiB/s
> root@nas:~#
> 
> 
> 
> Is that about what you would expect?  Fireball is on a 970 mobo.  It's
> slightly newer.  I think the 770T is about 2 years older, maybe 3. 

grep AES /usr/src/linux/.config

or,

zgrep AES /proc/config.gz

Or, grep your *current* kernel config wherever it is stored.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to