All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Boeckel <mathstuf@gmail.com>
To: keyrings@vger.kernel.org
Subject: [PATCH 2/4] man/keyctl_dh_compute: mention /proc/crypto for hashnames
Date: Mon, 24 Sep 2018 13:01:57 +0000	[thread overview]
Message-ID: <20180924130159.5299-3-mathstuf@gmail.com> (raw)

The kernel does not have a set of known hashnames available. Instead,
/proc/crypto contains the information for the running system.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
---
 man/keyctl_dh_compute.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/keyctl_dh_compute.3 b/man/keyctl_dh_compute.3
index 837c481..bb1274c 100644
--- a/man/keyctl_dh_compute.3
+++ b/man/keyctl_dh_compute.3
@@ -86,7 +86,9 @@ function.
 The
 .I hashname
 specifies the Linux kernel crypto API name for a hash that shall be used
-for the key derivation function, such as sha256.
+for the key derivation function, such as sha256. See
+.I /proc/crypto
+for available hashes on the system.
 The
 .I hashname
 must be a NULL terminated string.
-- 
2.17.1

                 reply	other threads:[~2018-09-24 13:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180924130159.5299-3-mathstuf@gmail.com \
    --to=mathstuf@gmail.com \
    --cc=keyrings@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.