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>
This commit is contained in:
Stephan Mueller
2016-10-21 05:00:02 +02:00
committed by Jonathan Corbet
parent 3f692d5f97
commit 3fa71d0f58
6 changed files with 23 additions and 401 deletions

View File

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