summaryrefslogtreecommitdiff
path: root/Documentation/crypto/api-skcipher.rst
blob: eabd369482cee2d72d81a400eaddfaf0c91b84e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
Block Cipher Algorithm Definitions
----------------------------------

.. kernel-doc:: include/linux/crypto.h
   :doc: Block Cipher Algorithm Definitions

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_alg

.. kernel-doc:: include/linux/crypto.h
   :functions: ablkcipher_alg

.. kernel-doc:: include/linux/crypto.h
   :functions: blkcipher_alg

.. kernel-doc:: include/linux/crypto.h
   :functions: cipher_alg

Symmetric Key Cipher API
------------------------

.. kernel-doc:: include/crypto/skcipher.h
   :doc: Symmetric Key Cipher API

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_alloc_skcipher

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_free_skcipher

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_has_skcipher

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_ivsize

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_blocksize

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_setkey

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_reqtfm

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_encrypt

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_decrypt

Symmetric Key Cipher Request Handle
-----------------------------------

.. kernel-doc:: include/crypto/skcipher.h
   :doc: Symmetric Key Cipher Request Handle

.. kernel-doc:: include/crypto/skcipher.h
   :functions: crypto_skcipher_reqsize

.. kernel-doc:: include/crypto/skcipher.h
   :functions: skcipher_request_set_tfm

.. kernel-doc:: include/crypto/skcipher.h
   :functions: skcipher_request_alloc

.. kernel-doc:: include/crypto/skcipher.h
   :functions: skcipher_request_free

.. kernel-doc:: include/crypto/skcipher.h
   :functions: skcipher_request_set_callback

.. kernel-doc:: include/crypto/skcipher.h
   :functions: skcipher_request_set_crypt

Single Block Cipher API
-----------------------

.. kernel-doc:: include/linux/crypto.h
   :doc: Single Block Cipher API

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_alloc_cipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_free_cipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_has_cipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_cipher_blocksize

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_cipher_setkey

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_cipher_encrypt_one

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_cipher_decrypt_one

Asynchronous Block Cipher API - Deprecated
------------------------------------------

.. kernel-doc:: include/linux/crypto.h
   :doc: Asynchronous Block Cipher API

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_alloc_ablkcipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_free_ablkcipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_has_ablkcipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_ivsize

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_blocksize

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_setkey

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_reqtfm

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_encrypt

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_decrypt

Asynchronous Cipher Request Handle - Deprecated
-----------------------------------------------

.. kernel-doc:: include/linux/crypto.h
   :doc: Asynchronous Cipher Request Handle

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_ablkcipher_reqsize

.. kernel-doc:: include/linux/crypto.h
   :functions: ablkcipher_request_set_tfm

.. kernel-doc:: include/linux/crypto.h
   :functions: ablkcipher_request_alloc

.. kernel-doc:: include/linux/crypto.h
   :functions: ablkcipher_request_free

.. kernel-doc:: include/linux/crypto.h
   :functions: ablkcipher_request_set_callback

.. kernel-doc:: include/linux/crypto.h
   :functions: ablkcipher_request_set_crypt

Synchronous Block Cipher API - Deprecated
-----------------------------------------

.. kernel-doc:: include/linux/crypto.h
   :doc: Synchronous Block Cipher API

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_alloc_blkcipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_free_blkcipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_has_blkcipher

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_name

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_ivsize

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_blocksize

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_setkey

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_encrypt

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_encrypt_iv

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_decrypt

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_decrypt_iv

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_set_iv

.. kernel-doc:: include/linux/crypto.h
   :functions: crypto_blkcipher_get_iv