xref: /linux/Documentation/crypto/api-skcipher.rst (revision 8a7c601e14576a22c2bbf7f67455ccf3f3d2737f)
1Symmetric Key Cipher
2====================
3
4Block Cipher Algorithm Definitions
5----------------------------------
6
7.. kernel-doc:: include/linux/crypto.h
8   :doc: Block Cipher Algorithm Definitions
9
10.. kernel-doc:: include/linux/crypto.h
11   :functions: crypto_alg cipher_alg compress_alg
12
13Symmetric Key Cipher API
14------------------------
15
16.. kernel-doc:: include/crypto/skcipher.h
17   :doc: Symmetric Key Cipher API
18
19.. kernel-doc:: include/crypto/skcipher.h
20   :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
21
22Symmetric Key Cipher Request Handle
23-----------------------------------
24
25.. kernel-doc:: include/crypto/skcipher.h
26   :doc: Symmetric Key Cipher Request Handle
27
28.. kernel-doc:: include/crypto/skcipher.h
29   :functions: crypto_skcipher_reqsize skcipher_request_set_tfm skcipher_request_alloc skcipher_request_free skcipher_request_set_callback skcipher_request_set_crypt
30
31Single Block Cipher API
32-----------------------
33
34.. kernel-doc:: include/crypto/internal/cipher.h
35   :doc: Single Block Cipher API
36
37.. kernel-doc:: include/crypto/internal/cipher.h
38   :functions: crypto_alloc_cipher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_cipher_encrypt_one crypto_cipher_decrypt_one
39