aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/security
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-07 14:54:28 -0400
committerJonathan Corbet <corbet@lwn.net>2019-06-08 15:42:11 -0400
commit43415f13276f09623b1b61376c6f2e43f71bedbb (patch)
tree5b68b9ce7fef715a89a39e5704822b79fa8517c2 /Documentation/security
parent6ad8b21652ec26a5ad51ffc91470e15c19156548 (diff)
docs: security: core.rst: Fix several warnings
Multi-line literal markups only work when they're idented at the same level, with is not the case here: Documentation/security/keys/core.rst:1597: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1597: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1597: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1598: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1598: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1600: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline literal start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Documentation/security/keys/core.rst:1666: WARNING: Inline emphasis start-string without end-string. Fix it by using a code-block instead. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/security')
-rw-r--r--Documentation/security/keys/core.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst
index 9521c4207f01..3fd60dcb2dc6 100644
--- a/Documentation/security/keys/core.rst
+++ b/Documentation/security/keys/core.rst
@@ -1594,10 +1594,12 @@ The structure has a number of fields, some of which are mandatory:
1594 attempted key link operation. If there is no match, -EINVAL is returned. 1594 attempted key link operation. If there is no match, -EINVAL is returned.
1595 1595
1596 1596
1597 * ``int (*asym_eds_op)(struct kernel_pkey_params *params, 1597 * ``asym_eds_op`` and ``asym_verify_signature``::
1598 const void *in, void *out);`` 1598
1599 ``int (*asym_verify_signature)(struct kernel_pkey_params *params, 1599 int (*asym_eds_op)(struct kernel_pkey_params *params,
1600 const void *in, const void *in2);`` 1600 const void *in, void *out);
1601 int (*asym_verify_signature)(struct kernel_pkey_params *params,
1602 const void *in, const void *in2);
1601 1603
1602 These methods are optional. If provided the first allows a key to be 1604 These methods are optional. If provided the first allows a key to be
1603 used to encrypt, decrypt or sign a blob of data, and the second allows a 1605 used to encrypt, decrypt or sign a blob of data, and the second allows a
@@ -1662,8 +1664,10 @@ The structure has a number of fields, some of which are mandatory:
1662 required crypto isn't available. 1664 required crypto isn't available.
1663 1665
1664 1666
1665 * ``int (*asym_query)(const struct kernel_pkey_params *params, 1667 * ``asym_query``::
1666 struct kernel_pkey_query *info);`` 1668
1669 int (*asym_query)(const struct kernel_pkey_params *params,
1670 struct kernel_pkey_query *info);
1667 1671
1668 This method is optional. If provided it allows information about the 1672 This method is optional. If provided it allows information about the
1669 public or asymmetric key held in the key to be determined. 1673 public or asymmetric key held in the key to be determined.