summaryrefslogtreecommitdiff
path: root/Documentation/security/keys
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2020-05-16 03:39:17 +0300
committerDavid Howells <dhowells@redhat.com>2020-06-02 19:22:31 +0300
commit352780b61ebbd5fef845714c17246e1647c6904a (patch)
tree048fea81046da88f181538e03cd4d9d0d98fb765 /Documentation/security/keys
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c (diff)
downloadlinux-352780b61ebbd5fef845714c17246e1647c6904a.tar.xz
Documentation: security: core.rst: add missing argument
This argument was just never documented in the first place. Signed-off-by: Ben Boeckel <mathstuf@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'Documentation/security/keys')
-rw-r--r--Documentation/security/keys/core.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst
index d9b0b859018b..9367d0fe4a02 100644
--- a/Documentation/security/keys/core.rst
+++ b/Documentation/security/keys/core.rst
@@ -920,10 +920,14 @@ The keyctl syscall functions are:
long keyctl(KEYCTL_PKEY_QUERY,
key_serial_t key_id, unsigned long reserved,
+ const char *params,
struct keyctl_pkey_query *info);
- Get information about an asymmetric key. The information is returned in
- the keyctl_pkey_query struct::
+ Get information about an asymmetric key. Specific algorithms and
+ encodings may be queried by using the ``params`` argument. This is a
+ string containing a space- or tab-separated string of key-value pairs.
+ Currently supported keys include ``enc`` and ``hash``. The information
+ is returned in the keyctl_pkey_query struct::
__u32 supported_ops;
__u32 key_size;