diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:06:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 08:06:26 +0000 |
commit | 1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5 (patch) | |
tree | 6cf8220b628ebd2ccfc1375dd6516c6996e9abcc /man/cryptsetup-benchmark.8.adoc | |
parent | Initial commit. (diff) | |
download | cryptsetup-1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5.tar.xz cryptsetup-1660d4b7a65d9ad2ce0deaa19d35579ca4084ac5.zip |
Adding upstream version 2:2.6.1.upstream/2%2.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/cryptsetup-benchmark.8.adoc')
-rw-r--r-- | man/cryptsetup-benchmark.8.adoc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/man/cryptsetup-benchmark.8.adoc b/man/cryptsetup-benchmark.8.adoc new file mode 100644 index 0000000..caaacba --- /dev/null +++ b/man/cryptsetup-benchmark.8.adoc @@ -0,0 +1,41 @@ += cryptsetup-benchmark(8) +:doctype: manpage +:manmanual: Maintenance Commands +:mansource: cryptsetup {release-version} +:man-linkstyle: pass:[blue R < >] +:COMMON_OPTIONS: +:ACTION_BENCHMARK: + +== Name + +cryptsetup-benchmark - benchmarks ciphers and KDF + +== SYNOPSIS + +*cryptsetup _benchmark_ [<options>]* + +== DESCRIPTION + +Benchmarks ciphers and KDF (key derivation function). Without +parameters, it tries to measure few common configurations. + +To benchmark other ciphers or modes, you need to specify *--cipher* and +*--key-size* options. + +To benchmark PBKDF you need to specify *--pbkdf* or *--hash* with optional +cost parameters *--iter-time*, *--pbkdf-memory* or *--pbkdf-parallel*. + +*NOTE:* This benchmark uses memory only and is only informative. You +cannot directly predict real storage encryption speed from it. + +For testing block ciphers, this benchmark requires kernel userspace +crypto API to be available (introduced in Linux kernel 2.6.38). If you +are configuring kernel yourself, enable "User-space interface for +symmetric key cipher algorithms" in "Cryptographic API" section +(CRYPTO_USER_API_SKCIPHER .config option). + +*<options>* can be [--cipher, --key-size, --hash, --pbkdf, --iter-time, +--pbkdf-memory, --pbkdf-parallel]. + +include::man/common_options.adoc[] +include::man/common_footer.adoc[] |