summaryrefslogtreecommitdiffstats
path: root/Documentation/crypto/api-akcipher.rst
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-10-21 05:00:02 +0200
committerJonathan Corbet <corbet@lwn.net>2016-12-13 16:38:07 -0700
commit3fa71d0f58a9b9df84e8e79196f961bcfbf01b2e (patch)
treebeb00f800c10297418633bea8b96749a2ba17024 /Documentation/crypto/api-akcipher.rst
parent3f692d5f97cb834a42bcfb3cc10f5e390a9d7867 (diff)
downloadtalos-op-linux-3fa71d0f58a9b9df84e8e79196f961bcfbf01b2e.tar.gz
talos-op-linux-3fa71d0f58a9b9df84e8e79196f961bcfbf01b2e.zip
crypto: doc - optimize compilation
The :functions: definition allows the specification of multiple function references which prevents parsing the header file multiple times. Reported-by: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/crypto/api-akcipher.rst')
-rw-r--r--Documentation/crypto/api-akcipher.rst42
1 files changed, 3 insertions, 39 deletions
diff --git a/Documentation/crypto/api-akcipher.rst b/Documentation/crypto/api-akcipher.rst
index 49e0ab68dd2c..40aa8746e2a1 100644
--- a/Documentation/crypto/api-akcipher.rst
+++ b/Documentation/crypto/api-akcipher.rst
@@ -2,10 +2,7 @@ Asymmetric Cipher Algorithm Definitions
---------------------------------------
.. kernel-doc:: include/crypto/akcipher.h
- :functions: akcipher_alg
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: akcipher_request
+ :functions: akcipher_alg akcipher_request
Asymmetric Cipher API
---------------------
@@ -14,43 +11,10 @@ Asymmetric Cipher API
:doc: Generic Public Key API
.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_alloc_akcipher
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_free_akcipher
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_set_pub_key
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_set_priv_key
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_maxsize
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_encrypt
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_decrypt
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_sign
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: crypto_akcipher_verify
+ :functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt crypto_akcipher_sign crypto_akcipher_verify
Asymmetric Cipher Request Handle
--------------------------------
.. kernel-doc:: include/crypto/akcipher.h
- :functions: akcipher_request_alloc
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: akcipher_request_free
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: akcipher_request_set_callback
-
-.. kernel-doc:: include/crypto/akcipher.h
- :functions: akcipher_request_set_crypt
+ :functions: akcipher_request_alloc akcipher_request_free akcipher_request_set_callback akcipher_request_set_crypt
OpenPOWER on IntegriCloud