All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2 2/7] keyctl_dh_compute.3: mention /proc/crypto for hashnames
@ 2018-11-02 14:35 David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2018-11-02 14:35 UTC (permalink / raw)
  To: keyrings

Ben Boeckel <mathstuf@gmail.com> wrote:

>  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.

I've moved your addition to the end of the paragraph as it seems to read
better there.

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v2 2/7] keyctl_dh_compute.3: mention /proc/crypto for hashnames
@ 2018-09-27 13:14 Ben Boeckel
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Boeckel @ 2018-09-27 13:14 UTC (permalink / raw)
  To: keyrings

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.19.0.221.g150f307afc

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-02 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-02 14:35 [PATCH v2 2/7] keyctl_dh_compute.3: mention /proc/crypto for hashnames David Howells
  -- strict thread matches above, loose matches on Subject: below --
2018-09-27 13:14 Ben Boeckel

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.