summaryrefslogtreecommitdiffstats
path: root/doc/man1/openssl-kdf.pod.in
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-07 16:58:16 +1000
committerPauli <pauli@openssl.org>2021-05-08 22:13:49 +1000
commita1230dea4d255a1ea27b18af7a178fe2501e7dad (patch)
tree769478691cbd7338dce2def853e5e8c5e7bb1aae /doc/man1/openssl-kdf.pod.in
parent839261592ca447aa083403cee7b0ced97cef6159 (diff)
apps: add mac, cipher and digest arguments to the kdf applet.
This adds -digest, -mac and -cipher which correspond to -kdfopt digest: and -kdfopt mac: and -kdfopt cipher: respectively. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15190)
Diffstat (limited to 'doc/man1/openssl-kdf.pod.in')
-rw-r--r--doc/man1/openssl-kdf.pod.in33
1 files changed, 31 insertions, 2 deletions
diff --git a/doc/man1/openssl-kdf.pod.in b/doc/man1/openssl-kdf.pod.in
index 3d532ebfc6..bc0fa82a88 100644
--- a/doc/man1/openssl-kdf.pod.in
+++ b/doc/man1/openssl-kdf.pod.in
@@ -9,6 +9,9 @@ openssl-kdf - perform Key Derivation Function operations
B<openssl kdf>
[B<-help>]
+[B<-cipher>]
+[B<-digest>]
+[B<-mac>]
[B<-kdfopt> I<nm>:I<v>]
[B<-keylen> I<num>]
[B<-out> I<filename>]
@@ -41,6 +44,25 @@ Filename to output to, or standard output by default.
Output the derived key in binary form. Uses hexadecimal text format if not specified.
+=item B<-cipher> I<name>
+
+Specify the cipher to be used by the KDF.
+Not all KDFs require a cipher and it is an error to use this option in such
+cases.
+
+=item B<-digest> I<name>
+
+Specify the digest to be used by the KDF.
+Not all KDFs require a digest and it is an error to use this option in such
+cases.
+To see the list of supported digests, use C<openssl list -digest-commands>.
+
+=item B<-mac> I<name>
+
+Specify the MAC to be used by the KDF.
+Not all KDFs require a MAC and it is an error to use this option in such
+cases.
+
=item B<-kdfopt> I<nm>:I<v>
Passes options to the KDF algorithm.
@@ -76,8 +98,15 @@ The password must be specified for PBKDF2 and scrypt.
=item B<digest:>I<string>
-Specifies the name of a digest as an alphanumeric string.
-To see the list of supported digests, use the command I<list -digest-commands>.
+This option is identical to the B<-digest> option.
+
+=item B<cipher:>I<string>
+
+This option is identical to the B<-cipher> option.
+
+=item B<mac:>I<string>
+
+This option is identical to the B<-mac> option.
=back