diff options
author | Stephan Mueller <smueller@chronox.de> | 2016-10-20 23:00:02 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-12-13 18:38:07 -0500 |
commit | 3fa71d0f58a9b9df84e8e79196f961bcfbf01b2e (patch) | |
tree | beb00f800c10297418633bea8b96749a2ba17024 | |
parent | 3f692d5f97cb834a42bcfb3cc10f5e390a9d7867 (diff) |
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>
-rw-r--r-- | Documentation/crypto/api-aead.rst | 51 | ||||
-rw-r--r-- | Documentation/crypto/api-akcipher.rst | 42 | ||||
-rw-r--r-- | Documentation/crypto/api-digest.rst | 95 | ||||
-rw-r--r-- | Documentation/crypto/api-kpp.rst | 64 | ||||
-rw-r--r-- | Documentation/crypto/api-rng.rst | 20 | ||||
-rw-r--r-- | Documentation/crypto/api-skcipher.rst | 152 |
6 files changed, 23 insertions, 401 deletions
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 | |||
5 | :doc: Authenticated Encryption With Associated Data (AEAD) Cipher API | 5 | :doc: Authenticated Encryption With Associated Data (AEAD) Cipher API |
6 | 6 | ||
7 | .. kernel-doc:: include/crypto/aead.h | 7 | .. kernel-doc:: include/crypto/aead.h |
8 | :functions: aead_request | 8 | :functions: aead_request aead_alg |
9 | |||
10 | .. kernel-doc:: include/crypto/aead.h | ||
11 | :functions: aead_alg | ||
12 | 9 | ||
13 | Authenticated Encryption With Associated Data (AEAD) Cipher API | 10 | Authenticated Encryption With Associated Data (AEAD) Cipher API |
14 | --------------------------------------------------------------- | 11 | --------------------------------------------------------------- |
15 | 12 | ||
16 | .. kernel-doc:: include/crypto/aead.h | 13 | .. kernel-doc:: include/crypto/aead.h |
17 | :functions: crypto_alloc_aead | 14 | :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 |
18 | |||
19 | .. kernel-doc:: include/crypto/aead.h | ||
20 | :functions: crypto_free_aead | ||
21 | |||
22 | .. kernel-doc:: include/crypto/aead.h | ||
23 | :functions: crypto_aead_ivsize | ||
24 | |||
25 | .. kernel-doc:: include/crypto/aead.h | ||
26 | :functions: crypto_aead_authsize | ||
27 | |||
28 | .. kernel-doc:: include/crypto/aead.h | ||
29 | :functions: crypto_aead_blocksize | ||
30 | |||
31 | .. kernel-doc:: include/crypto/aead.h | ||
32 | :functions: crypto_aead_setkey | ||
33 | |||
34 | .. kernel-doc:: include/crypto/aead.h | ||
35 | :functions: crypto_aead_setauthsize | ||
36 | |||
37 | .. kernel-doc:: include/crypto/aead.h | ||
38 | :functions: crypto_aead_encrypt | ||
39 | |||
40 | .. kernel-doc:: include/crypto/aead.h | ||
41 | :functions: crypto_aead_decrypt | ||
42 | 15 | ||
43 | Asynchronous AEAD Request Handle | 16 | Asynchronous AEAD Request Handle |
44 | -------------------------------- | 17 | -------------------------------- |
@@ -47,22 +20,4 @@ Asynchronous AEAD Request Handle | |||
47 | :doc: Asynchronous AEAD Request Handle | 20 | :doc: Asynchronous AEAD Request Handle |
48 | 21 | ||
49 | .. kernel-doc:: include/crypto/aead.h | 22 | .. kernel-doc:: include/crypto/aead.h |
50 | :functions: crypto_aead_reqsize | 23 | :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 |
51 | |||
52 | .. kernel-doc:: include/crypto/aead.h | ||
53 | :functions: aead_request_set_tfm | ||
54 | |||
55 | .. kernel-doc:: include/crypto/aead.h | ||
56 | :functions: aead_request_alloc | ||
57 | |||
58 | .. kernel-doc:: include/crypto/aead.h | ||
59 | :functions: aead_request_free | ||
60 | |||
61 | .. kernel-doc:: include/crypto/aead.h | ||
62 | :functions: aead_request_set_callback | ||
63 | |||
64 | .. kernel-doc:: include/crypto/aead.h | ||
65 | :functions: aead_request_set_crypt | ||
66 | |||
67 | .. kernel-doc:: include/crypto/aead.h | ||
68 | :functions: aead_request_set_ad | ||
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 | |||
2 | --------------------------------------- | 2 | --------------------------------------- |
3 | 3 | ||
4 | .. kernel-doc:: include/crypto/akcipher.h | 4 | .. kernel-doc:: include/crypto/akcipher.h |
5 | :functions: akcipher_alg | 5 | :functions: akcipher_alg akcipher_request |
6 | |||
7 | .. kernel-doc:: include/crypto/akcipher.h | ||
8 | :functions: akcipher_request | ||
9 | 6 | ||
10 | Asymmetric Cipher API | 7 | Asymmetric Cipher API |
11 | --------------------- | 8 | --------------------- |
@@ -14,43 +11,10 @@ Asymmetric Cipher API | |||
14 | :doc: Generic Public Key API | 11 | :doc: Generic Public Key API |
15 | 12 | ||
16 | .. kernel-doc:: include/crypto/akcipher.h | 13 | .. kernel-doc:: include/crypto/akcipher.h |
17 | :functions: crypto_alloc_akcipher | 14 | :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 |
18 | |||
19 | .. kernel-doc:: include/crypto/akcipher.h | ||
20 | :functions: crypto_free_akcipher | ||
21 | |||
22 | .. kernel-doc:: include/crypto/akcipher.h | ||
23 | :functions: crypto_akcipher_set_pub_key | ||
24 | |||
25 | .. kernel-doc:: include/crypto/akcipher.h | ||
26 | :functions: crypto_akcipher_set_priv_key | ||
27 | |||
28 | .. kernel-doc:: include/crypto/akcipher.h | ||
29 | :functions: crypto_akcipher_maxsize | ||
30 | |||
31 | .. kernel-doc:: include/crypto/akcipher.h | ||
32 | :functions: crypto_akcipher_encrypt | ||
33 | |||
34 | .. kernel-doc:: include/crypto/akcipher.h | ||
35 | :functions: crypto_akcipher_decrypt | ||
36 | |||
37 | .. kernel-doc:: include/crypto/akcipher.h | ||
38 | :functions: crypto_akcipher_sign | ||
39 | |||
40 | .. kernel-doc:: include/crypto/akcipher.h | ||
41 | :functions: crypto_akcipher_verify | ||
42 | 15 | ||
43 | Asymmetric Cipher Request Handle | 16 | Asymmetric Cipher Request Handle |
44 | -------------------------------- | 17 | -------------------------------- |
45 | 18 | ||
46 | .. kernel-doc:: include/crypto/akcipher.h | 19 | .. kernel-doc:: include/crypto/akcipher.h |
47 | :functions: akcipher_request_alloc | 20 | :functions: akcipher_request_alloc akcipher_request_free akcipher_request_set_callback akcipher_request_set_crypt |
48 | |||
49 | .. kernel-doc:: include/crypto/akcipher.h | ||
50 | :functions: akcipher_request_free | ||
51 | |||
52 | .. kernel-doc:: include/crypto/akcipher.h | ||
53 | :functions: akcipher_request_set_callback | ||
54 | |||
55 | .. kernel-doc:: include/crypto/akcipher.h | ||
56 | :functions: akcipher_request_set_crypt | ||
diff --git a/Documentation/crypto/api-digest.rst b/Documentation/crypto/api-digest.rst index b5eaf0f6093e..07356fa99200 100644 --- a/Documentation/crypto/api-digest.rst +++ b/Documentation/crypto/api-digest.rst | |||
@@ -5,13 +5,7 @@ Message Digest Algorithm Definitions | |||
5 | :doc: Message Digest Algorithm Definitions | 5 | :doc: Message Digest Algorithm Definitions |
6 | 6 | ||
7 | .. kernel-doc:: include/crypto/hash.h | 7 | .. kernel-doc:: include/crypto/hash.h |
8 | :functions: hash_alg_common | 8 | :functions: hash_alg_common ahash_alg shash_alg |
9 | |||
10 | .. kernel-doc:: include/crypto/hash.h | ||
11 | :functions: ahash_alg | ||
12 | |||
13 | .. kernel-doc:: include/crypto/hash.h | ||
14 | :functions: shash_alg | ||
15 | 9 | ||
16 | Asynchronous Message Digest API | 10 | Asynchronous Message Digest API |
17 | ------------------------------- | 11 | ------------------------------- |
@@ -20,40 +14,7 @@ Asynchronous Message Digest API | |||
20 | :doc: Asynchronous Message Digest API | 14 | :doc: Asynchronous Message Digest API |
21 | 15 | ||
22 | .. kernel-doc:: include/crypto/hash.h | 16 | .. kernel-doc:: include/crypto/hash.h |
23 | :functions: crypto_alloc_ahash | 17 | :functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_ahash_reqtfm crypto_ahash_reqsize crypto_ahash_setkey crypto_ahash_finup crypto_ahash_final crypto_ahash_digest crypto_ahash_export crypto_ahash_import |
24 | |||
25 | .. kernel-doc:: include/crypto/hash.h | ||
26 | :functions: crypto_free_ahash | ||
27 | |||
28 | .. kernel-doc:: include/crypto/hash.h | ||
29 | :functions: crypto_ahash_init | ||
30 | |||
31 | .. kernel-doc:: include/crypto/hash.h | ||
32 | :functions: crypto_ahash_digestsize | ||
33 | |||
34 | .. kernel-doc:: include/crypto/hash.h | ||
35 | :functions: crypto_ahash_reqtfm | ||
36 | |||
37 | .. kernel-doc:: include/crypto/hash.h | ||
38 | :functions: crypto_ahash_reqsize | ||
39 | |||
40 | .. kernel-doc:: include/crypto/hash.h | ||
41 | :functions: crypto_ahash_setkey | ||
42 | |||
43 | .. kernel-doc:: include/crypto/hash.h | ||
44 | :functions: crypto_ahash_finup | ||
45 | |||
46 | .. kernel-doc:: include/crypto/hash.h | ||
47 | :functions: crypto_ahash_final | ||
48 | |||
49 | .. kernel-doc:: include/crypto/hash.h | ||
50 | :functions: crypto_ahash_digest | ||
51 | |||
52 | .. kernel-doc:: include/crypto/hash.h | ||
53 | :functions: crypto_ahash_export | ||
54 | |||
55 | .. kernel-doc:: include/crypto/hash.h | ||
56 | :functions: crypto_ahash_import | ||
57 | 18 | ||
58 | Asynchronous Hash Request Handle | 19 | Asynchronous Hash Request Handle |
59 | -------------------------------- | 20 | -------------------------------- |
@@ -62,19 +23,7 @@ Asynchronous Hash Request Handle | |||
62 | :doc: Asynchronous Hash Request Handle | 23 | :doc: Asynchronous Hash Request Handle |
63 | 24 | ||
64 | .. kernel-doc:: include/crypto/hash.h | 25 | .. kernel-doc:: include/crypto/hash.h |
65 | :functions: ahash_request_set_tfm | 26 | :functions: ahash_request_set_tfm ahash_request_alloc ahash_request_free ahash_request_set_callback ahash_request_set_crypt |
66 | |||
67 | .. kernel-doc:: include/crypto/hash.h | ||
68 | :functions: ahash_request_alloc | ||
69 | |||
70 | .. kernel-doc:: include/crypto/hash.h | ||
71 | :functions: ahash_request_free | ||
72 | |||
73 | .. kernel-doc:: include/crypto/hash.h | ||
74 | :functions: ahash_request_set_callback | ||
75 | |||
76 | .. kernel-doc:: include/crypto/hash.h | ||
77 | :functions: ahash_request_set_crypt | ||
78 | 27 | ||
79 | Synchronous Message Digest API | 28 | Synchronous Message Digest API |
80 | ------------------------------ | 29 | ------------------------------ |
@@ -83,40 +32,4 @@ Synchronous Message Digest API | |||
83 | :doc: Synchronous Message Digest API | 32 | :doc: Synchronous Message Digest API |
84 | 33 | ||
85 | .. kernel-doc:: include/crypto/hash.h | 34 | .. kernel-doc:: include/crypto/hash.h |
86 | :functions: crypto_alloc_shash | 35 | :functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash_finup |
87 | |||
88 | .. kernel-doc:: include/crypto/hash.h | ||
89 | :functions: crypto_free_shash | ||
90 | |||
91 | .. kernel-doc:: include/crypto/hash.h | ||
92 | :functions: crypto_shash_blocksize | ||
93 | |||
94 | .. kernel-doc:: include/crypto/hash.h | ||
95 | :functions: crypto_shash_digestsize | ||
96 | |||
97 | .. kernel-doc:: include/crypto/hash.h | ||
98 | :functions: crypto_shash_descsize | ||
99 | |||
100 | .. kernel-doc:: include/crypto/hash.h | ||
101 | :functions: crypto_shash_setkey | ||
102 | |||
103 | .. kernel-doc:: include/crypto/hash.h | ||
104 | :functions: crypto_shash_digest | ||
105 | |||
106 | .. kernel-doc:: include/crypto/hash.h | ||
107 | :functions: crypto_shash_export | ||
108 | |||
109 | .. kernel-doc:: include/crypto/hash.h | ||
110 | :functions: crypto_shash_import | ||
111 | |||
112 | .. kernel-doc:: include/crypto/hash.h | ||
113 | :functions: crypto_shash_init | ||
114 | |||
115 | .. kernel-doc:: include/crypto/hash.h | ||
116 | :functions: crypto_shash_update | ||
117 | |||
118 | .. kernel-doc:: include/crypto/hash.h | ||
119 | :functions: crypto_shash_final | ||
120 | |||
121 | .. kernel-doc:: include/crypto/hash.h | ||
122 | :functions: crypto_shash_finup | ||
diff --git a/Documentation/crypto/api-kpp.rst b/Documentation/crypto/api-kpp.rst index d87be9224f49..7d86ab906bdf 100644 --- a/Documentation/crypto/api-kpp.rst +++ b/Documentation/crypto/api-kpp.rst | |||
@@ -2,16 +2,7 @@ Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions | |||
2 | -------------------------------------------------------------------- | 2 | -------------------------------------------------------------------- |
3 | 3 | ||
4 | .. kernel-doc:: include/crypto/kpp.h | 4 | .. kernel-doc:: include/crypto/kpp.h |
5 | :functions: kpp_request | 5 | :functions: kpp_request crypto_kpp kpp_alg kpp_secret |
6 | |||
7 | .. kernel-doc:: include/crypto/kpp.h | ||
8 | :functions: crypto_kpp | ||
9 | |||
10 | .. kernel-doc:: include/crypto/kpp.h | ||
11 | :functions: kpp_alg | ||
12 | |||
13 | .. kernel-doc:: include/crypto/kpp.h | ||
14 | :functions: kpp_secret | ||
15 | 6 | ||
16 | Key-agreement Protocol Primitives (KPP) Cipher API | 7 | Key-agreement Protocol Primitives (KPP) Cipher API |
17 | -------------------------------------------------- | 8 | -------------------------------------------------- |
@@ -20,40 +11,13 @@ Key-agreement Protocol Primitives (KPP) Cipher API | |||
20 | :doc: Generic Key-agreement Protocol Primitives API | 11 | :doc: Generic Key-agreement Protocol Primitives API |
21 | 12 | ||
22 | .. kernel-doc:: include/crypto/kpp.h | 13 | .. kernel-doc:: include/crypto/kpp.h |
23 | :functions: crypto_alloc_kpp | 14 | :functions: crypto_alloc_kpp crypto_free_kpp crypto_kpp_set_secret crypto_kpp_generate_public_key crypto_kpp_compute_shared_secret crypto_kpp_maxsize |
24 | |||
25 | .. kernel-doc:: include/crypto/kpp.h | ||
26 | :functions: crypto_free_kpp | ||
27 | |||
28 | .. kernel-doc:: include/crypto/kpp.h | ||
29 | :functions: crypto_kpp_set_secret | ||
30 | |||
31 | .. kernel-doc:: include/crypto/kpp.h | ||
32 | :functions: crypto_kpp_generate_public_key | ||
33 | |||
34 | .. kernel-doc:: include/crypto/kpp.h | ||
35 | :functions: crypto_kpp_compute_shared_secret | ||
36 | |||
37 | .. kernel-doc:: include/crypto/kpp.h | ||
38 | :functions: crypto_kpp_maxsize | ||
39 | 15 | ||
40 | Key-agreement Protocol Primitives (KPP) Cipher Request Handle | 16 | Key-agreement Protocol Primitives (KPP) Cipher Request Handle |
41 | ------------------------------------------------------------- | 17 | ------------------------------------------------------------- |
42 | 18 | ||
43 | .. kernel-doc:: include/crypto/kpp.h | 19 | .. kernel-doc:: include/crypto/kpp.h |
44 | :functions: kpp_request_alloc | 20 | :functions: kpp_request_alloc kpp_request_free kpp_request_set_callback kpp_request_set_input kpp_request_set_output |
45 | |||
46 | .. kernel-doc:: include/crypto/kpp.h | ||
47 | :functions: kpp_request_free | ||
48 | |||
49 | .. kernel-doc:: include/crypto/kpp.h | ||
50 | :functions: kpp_request_set_callback | ||
51 | |||
52 | .. kernel-doc:: include/crypto/kpp.h | ||
53 | :functions: kpp_request_set_input | ||
54 | |||
55 | .. kernel-doc:: include/crypto/kpp.h | ||
56 | :functions: kpp_request_set_output | ||
57 | 21 | ||
58 | ECDH Helper Functions | 22 | ECDH Helper Functions |
59 | --------------------- | 23 | --------------------- |
@@ -62,16 +26,7 @@ ECDH Helper Functions | |||
62 | :doc: ECDH Helper Functions | 26 | :doc: ECDH Helper Functions |
63 | 27 | ||
64 | .. kernel-doc:: include/crypto/ecdh.h | 28 | .. kernel-doc:: include/crypto/ecdh.h |
65 | :functions: ecdh | 29 | :functions: ecdh crypto_ecdh_key_len crypto_ecdh_encode_key crypto_ecdh_decode_key |
66 | |||
67 | .. kernel-doc:: include/crypto/ecdh.h | ||
68 | :functions: crypto_ecdh_key_len | ||
69 | |||
70 | .. kernel-doc:: include/crypto/ecdh.h | ||
71 | :functions: crypto_ecdh_encode_key | ||
72 | |||
73 | .. kernel-doc:: include/crypto/ecdh.h | ||
74 | :functions: crypto_ecdh_decode_key | ||
75 | 30 | ||
76 | DH Helper Functions | 31 | DH Helper Functions |
77 | ------------------- | 32 | ------------------- |
@@ -80,13 +35,4 @@ DH Helper Functions | |||
80 | :doc: DH Helper Functions | 35 | :doc: DH Helper Functions |
81 | 36 | ||
82 | .. kernel-doc:: include/crypto/dh.h | 37 | .. kernel-doc:: include/crypto/dh.h |
83 | :functions: dh | 38 | :functions: dh crypto_dh_key_len crypto_dh_encode_key crypto_dh_decode_key |
84 | |||
85 | .. kernel-doc:: include/crypto/dh.h | ||
86 | :functions: crypto_dh_key_len | ||
87 | |||
88 | .. kernel-doc:: include/crypto/dh.h | ||
89 | :functions: crypto_dh_encode_key | ||
90 | |||
91 | .. kernel-doc:: include/crypto/dh.h | ||
92 | :functions: crypto_dh_decode_key | ||
diff --git a/Documentation/crypto/api-rng.rst b/Documentation/crypto/api-rng.rst index 0d7ee78c4f32..10ba7436cee4 100644 --- a/Documentation/crypto/api-rng.rst +++ b/Documentation/crypto/api-rng.rst | |||
@@ -11,22 +11,4 @@ Crypto API Random Number API | |||
11 | :doc: Random number generator API | 11 | :doc: Random number generator API |
12 | 12 | ||
13 | .. kernel-doc:: include/crypto/rng.h | 13 | .. kernel-doc:: include/crypto/rng.h |
14 | :functions: crypto_alloc_rng | 14 | :functions: crypto_alloc_rng crypto_rng_alg crypto_free_rng crypto_rng_generate crypto_rng_get_bytes crypto_rng_reset crypto_rng_seedsize |
15 | |||
16 | .. kernel-doc:: include/crypto/rng.h | ||
17 | :functions: crypto_rng_alg | ||
18 | |||
19 | .. kernel-doc:: include/crypto/rng.h | ||
20 | :functions: crypto_free_rng | ||
21 | |||
22 | .. kernel-doc:: include/crypto/rng.h | ||
23 | :functions: crypto_rng_generate | ||
24 | |||
25 | .. kernel-doc:: include/crypto/rng.h | ||
26 | :functions: crypto_rng_get_bytes | ||
27 | |||
28 | .. kernel-doc:: include/crypto/rng.h | ||
29 | :functions: crypto_rng_reset | ||
30 | |||
31 | .. kernel-doc:: include/crypto/rng.h | ||
32 | :functions: crypto_rng_seedsize | ||
diff --git a/Documentation/crypto/api-skcipher.rst b/Documentation/crypto/api-skcipher.rst index cd8830ba23af..b20028a361a9 100644 --- a/Documentation/crypto/api-skcipher.rst +++ b/Documentation/crypto/api-skcipher.rst | |||
@@ -5,16 +5,7 @@ Block Cipher Algorithm Definitions | |||
5 | :doc: Block Cipher Algorithm Definitions | 5 | :doc: Block Cipher Algorithm Definitions |
6 | 6 | ||
7 | .. kernel-doc:: include/linux/crypto.h | 7 | .. kernel-doc:: include/linux/crypto.h |
8 | :functions: crypto_alg | 8 | :functions: crypto_alg ablkcipher_alg blkcipher_alg cipher_alg |
9 | |||
10 | .. kernel-doc:: include/linux/crypto.h | ||
11 | :functions: ablkcipher_alg | ||
12 | |||
13 | .. kernel-doc:: include/linux/crypto.h | ||
14 | :functions: blkcipher_alg | ||
15 | |||
16 | .. kernel-doc:: include/linux/crypto.h | ||
17 | :functions: cipher_alg | ||
18 | 9 | ||
19 | Symmetric Key Cipher API | 10 | Symmetric Key Cipher API |
20 | ------------------------ | 11 | ------------------------ |
@@ -23,31 +14,7 @@ Symmetric Key Cipher API | |||
23 | :doc: Symmetric Key Cipher API | 14 | :doc: Symmetric Key Cipher API |
24 | 15 | ||
25 | .. kernel-doc:: include/crypto/skcipher.h | 16 | .. kernel-doc:: include/crypto/skcipher.h |
26 | :functions: crypto_alloc_skcipher | 17 | :functions: crypto_alloc_skcipher crypto_free_skcipher crypto_has_skcipher crypto_skcipher_ivsize crypto_skcipher_blocksize crypto_skcipher_setkey crypto_skcipher_reqtfm crypto_skcipher_encrypt crypto_skcipher_decrypt |
27 | |||
28 | .. kernel-doc:: include/crypto/skcipher.h | ||
29 | :functions: crypto_free_skcipher | ||
30 | |||
31 | .. kernel-doc:: include/crypto/skcipher.h | ||
32 | :functions: crypto_has_skcipher | ||
33 | |||
34 | .. kernel-doc:: include/crypto/skcipher.h | ||
35 | :functions: crypto_skcipher_ivsize | ||
36 | |||
37 | .. kernel-doc:: include/crypto/skcipher.h | ||
38 | :functions: crypto_skcipher_blocksize | ||
39 | |||
40 | .. kernel-doc:: include/crypto/skcipher.h | ||
41 | :functions: crypto_skcipher_setkey | ||
42 | |||
43 | .. kernel-doc:: include/crypto/skcipher.h | ||
44 | :functions: crypto_skcipher_reqtfm | ||
45 | |||
46 | .. kernel-doc:: include/crypto/skcipher.h | ||
47 | :functions: crypto_skcipher_encrypt | ||
48 | |||
49 | .. kernel-doc:: include/crypto/skcipher.h | ||
50 | :functions: crypto_skcipher_decrypt | ||
51 | 18 | ||
52 | Symmetric Key Cipher Request Handle | 19 | Symmetric Key Cipher Request Handle |
53 | ----------------------------------- | 20 | ----------------------------------- |
@@ -56,22 +23,7 @@ Symmetric Key Cipher Request Handle | |||
56 | :doc: Symmetric Key Cipher Request Handle | 23 | :doc: Symmetric Key Cipher Request Handle |
57 | 24 | ||
58 | .. kernel-doc:: include/crypto/skcipher.h | 25 | .. kernel-doc:: include/crypto/skcipher.h |
59 | :functions: crypto_skcipher_reqsize | 26 | :functions: crypto_skcipher_reqsize skcipher_request_set_tfm skcipher_request_alloc skcipher_request_free skcipher_request_set_callback skcipher_request_set_crypt |
60 | |||
61 | .. kernel-doc:: include/crypto/skcipher.h | ||
62 | :functions: skcipher_request_set_tfm | ||
63 | |||
64 | .. kernel-doc:: include/crypto/skcipher.h | ||
65 | :functions: skcipher_request_alloc | ||
66 | |||
67 | .. kernel-doc:: include/crypto/skcipher.h | ||
68 | :functions: skcipher_request_free | ||
69 | |||
70 | .. kernel-doc:: include/crypto/skcipher.h | ||
71 | :functions: skcipher_request_set_callback | ||
72 | |||
73 | .. kernel-doc:: include/crypto/skcipher.h | ||
74 | :functions: skcipher_request_set_crypt | ||
75 | 27 | ||
76 | Single Block Cipher API | 28 | Single Block Cipher API |
77 | ----------------------- | 29 | ----------------------- |
@@ -80,25 +32,7 @@ Single Block Cipher API | |||
80 | :doc: Single Block Cipher API | 32 | :doc: Single Block Cipher API |
81 | 33 | ||
82 | .. kernel-doc:: include/linux/crypto.h | 34 | .. kernel-doc:: include/linux/crypto.h |
83 | :functions: crypto_alloc_cipher | 35 | :functions: crypto_alloc_cipher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_cipher_encrypt_one crypto_cipher_decrypt_one |
84 | |||
85 | .. kernel-doc:: include/linux/crypto.h | ||
86 | :functions: crypto_free_cipher | ||
87 | |||
88 | .. kernel-doc:: include/linux/crypto.h | ||
89 | :functions: crypto_has_cipher | ||
90 | |||
91 | .. kernel-doc:: include/linux/crypto.h | ||
92 | :functions: crypto_cipher_blocksize | ||
93 | |||
94 | .. kernel-doc:: include/linux/crypto.h | ||
95 | :functions: crypto_cipher_setkey | ||
96 | |||
97 | .. kernel-doc:: include/linux/crypto.h | ||
98 | :functions: crypto_cipher_encrypt_one | ||
99 | |||
100 | .. kernel-doc:: include/linux/crypto.h | ||
101 | :functions: crypto_cipher_decrypt_one | ||
102 | 36 | ||
103 | Asynchronous Block Cipher API - Deprecated | 37 | Asynchronous Block Cipher API - Deprecated |
104 | ------------------------------------------ | 38 | ------------------------------------------ |
@@ -107,28 +41,7 @@ Asynchronous Block Cipher API - Deprecated | |||
107 | :doc: Asynchronous Block Cipher API | 41 | :doc: Asynchronous Block Cipher API |
108 | 42 | ||
109 | .. kernel-doc:: include/linux/crypto.h | 43 | .. kernel-doc:: include/linux/crypto.h |
110 | :functions: crypto_free_ablkcipher | 44 | :functions: crypto_free_ablkcipher crypto_has_ablkcipher crypto_ablkcipher_ivsize crypto_ablkcipher_blocksize crypto_ablkcipher_setkey crypto_ablkcipher_reqtfm crypto_ablkcipher_encrypt crypto_ablkcipher_decrypt |
111 | |||
112 | .. kernel-doc:: include/linux/crypto.h | ||
113 | :functions: crypto_has_ablkcipher | ||
114 | |||
115 | .. kernel-doc:: include/linux/crypto.h | ||
116 | :functions: crypto_ablkcipher_ivsize | ||
117 | |||
118 | .. kernel-doc:: include/linux/crypto.h | ||
119 | :functions: crypto_ablkcipher_blocksize | ||
120 | |||
121 | .. kernel-doc:: include/linux/crypto.h | ||
122 | :functions: crypto_ablkcipher_setkey | ||
123 | |||
124 | .. kernel-doc:: include/linux/crypto.h | ||
125 | :functions: crypto_ablkcipher_reqtfm | ||
126 | |||
127 | .. kernel-doc:: include/linux/crypto.h | ||
128 | :functions: crypto_ablkcipher_encrypt | ||
129 | |||
130 | .. kernel-doc:: include/linux/crypto.h | ||
131 | :functions: crypto_ablkcipher_decrypt | ||
132 | 45 | ||
133 | Asynchronous Cipher Request Handle - Deprecated | 46 | Asynchronous Cipher Request Handle - Deprecated |
134 | ----------------------------------------------- | 47 | ----------------------------------------------- |
@@ -137,22 +50,7 @@ Asynchronous Cipher Request Handle - Deprecated | |||
137 | :doc: Asynchronous Cipher Request Handle | 50 | :doc: Asynchronous Cipher Request Handle |
138 | 51 | ||
139 | .. kernel-doc:: include/linux/crypto.h | 52 | .. kernel-doc:: include/linux/crypto.h |
140 | :functions: crypto_ablkcipher_reqsize | 53 | :functions: crypto_ablkcipher_reqsize ablkcipher_request_set_tfm ablkcipher_request_alloc ablkcipher_request_free ablkcipher_request_set_callback ablkcipher_request_set_crypt |
141 | |||
142 | .. kernel-doc:: include/linux/crypto.h | ||
143 | :functions: ablkcipher_request_set_tfm | ||
144 | |||
145 | .. kernel-doc:: include/linux/crypto.h | ||
146 | :functions: ablkcipher_request_alloc | ||
147 | |||
148 | .. kernel-doc:: include/linux/crypto.h | ||
149 | :functions: ablkcipher_request_free | ||
150 | |||
151 | .. kernel-doc:: include/linux/crypto.h | ||
152 | :functions: ablkcipher_request_set_callback | ||
153 | |||
154 | .. kernel-doc:: include/linux/crypto.h | ||
155 | :functions: ablkcipher_request_set_crypt | ||
156 | 54 | ||
157 | Synchronous Block Cipher API - Deprecated | 55 | Synchronous Block Cipher API - Deprecated |
158 | ----------------------------------------- | 56 | ----------------------------------------- |
@@ -161,40 +59,4 @@ Synchronous Block Cipher API - Deprecated | |||
161 | :doc: Synchronous Block Cipher API | 59 | :doc: Synchronous Block Cipher API |
162 | 60 | ||
163 | .. kernel-doc:: include/linux/crypto.h | 61 | .. kernel-doc:: include/linux/crypto.h |
164 | :functions: crypto_alloc_blkcipher | 62 | :functions: crypto_alloc_blkcipher rypto_free_blkcipher crypto_has_blkcipher crypto_blkcipher_name crypto_blkcipher_ivsize crypto_blkcipher_blocksize crypto_blkcipher_setkey crypto_blkcipher_encrypt crypto_blkcipher_encrypt_iv crypto_blkcipher_decrypt crypto_blkcipher_decrypt_iv crypto_blkcipher_set_iv crypto_blkcipher_get_iv |
165 | |||
166 | .. kernel-doc:: include/linux/crypto.h | ||
167 | :functions: crypto_free_blkcipher | ||
168 | |||
169 | .. kernel-doc:: include/linux/crypto.h | ||
170 | :functions: crypto_has_blkcipher | ||
171 | |||
172 | .. kernel-doc:: include/linux/crypto.h | ||
173 | :functions: crypto_blkcipher_name | ||
174 | |||
175 | .. kernel-doc:: include/linux/crypto.h | ||
176 | :functions: crypto_blkcipher_ivsize | ||
177 | |||
178 | .. kernel-doc:: include/linux/crypto.h | ||
179 | :functions: crypto_blkcipher_blocksize | ||
180 | |||
181 | .. kernel-doc:: include/linux/crypto.h | ||
182 | :functions: crypto_blkcipher_setkey | ||
183 | |||
184 | .. kernel-doc:: include/linux/crypto.h | ||
185 | :functions: crypto_blkcipher_encrypt | ||
186 | |||
187 | .. kernel-doc:: include/linux/crypto.h | ||
188 | :functions: crypto_blkcipher_encrypt_iv | ||
189 | |||
190 | .. kernel-doc:: include/linux/crypto.h | ||
191 | :functions: crypto_blkcipher_decrypt | ||
192 | |||
193 | .. kernel-doc:: include/linux/crypto.h | ||
194 | :functions: crypto_blkcipher_decrypt_iv | ||
195 | |||
196 | .. kernel-doc:: include/linux/crypto.h | ||
197 | :functions: crypto_blkcipher_set_iv | ||
198 | |||
199 | .. kernel-doc:: include/linux/crypto.h | ||
200 | :functions: crypto_blkcipher_get_iv | ||