From 3fa71d0f58a9b9df84e8e79196f961bcfbf01b2e Mon Sep 17 00:00:00 2001 From: Stephan Mueller Date: Fri, 21 Oct 2016 05:00:02 +0200 Subject: 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 Signed-off-by: Stephan Mueller Signed-off-by: Jonathan Corbet --- Documentation/crypto/api-aead.rst | 51 +++------------------------------------ 1 file changed, 3 insertions(+), 48 deletions(-) (limited to 'Documentation/crypto/api-aead.rst') diff --git a/Documentation/crypto/api-aead.rst b/Documentation/crypto/api-aead.rst index 78a7ce48a331..d15256f1ae36 100644 --- a/Documentation/crypto/api-aead.rst +++ b/Documentation/crypto/api-aead.rst @@ -5,40 +5,13 @@ Authenticated Encryption With Associated Data (AEAD) Algorithm Definitions :doc: Authenticated Encryption With Associated Data (AEAD) Cipher API .. kernel-doc:: include/crypto/aead.h - :functions: aead_request - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_alg + :functions: aead_request aead_alg Authenticated Encryption With Associated Data (AEAD) Cipher API --------------------------------------------------------------- .. kernel-doc:: include/crypto/aead.h - :functions: crypto_alloc_aead - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_free_aead - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_ivsize - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_authsize - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_blocksize - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_setkey - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_setauthsize - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_encrypt - -.. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_decrypt + :functions: crypto_alloc_aead crypto_free_aead crypto_aead_ivsize crypto_aead_authsize crypto_aead_blocksize crypto_aead_setkey crypto_aead_setauthsize crypto_aead_encrypt crypto_aead_decrypt Asynchronous AEAD Request Handle -------------------------------- @@ -47,22 +20,4 @@ Asynchronous AEAD Request Handle :doc: Asynchronous AEAD Request Handle .. kernel-doc:: include/crypto/aead.h - :functions: crypto_aead_reqsize - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_request_set_tfm - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_request_alloc - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_request_free - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_request_set_callback - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_request_set_crypt - -.. kernel-doc:: include/crypto/aead.h - :functions: aead_request_set_ad + :functions: crypto_aead_reqsize aead_request_set_tfm aead_request_alloc aead_request_free aead_request_set_callback aead_request_set_crypt aead_request_set_ad -- cgit v1.2.3