xref: /linux/Documentation/crypto/api-skcipher.rst (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
1Block Cipher Algorithm Definitions
2----------------------------------
3
4.. kernel-doc:: include/linux/crypto.h
5   :doc: Block Cipher Algorithm Definitions
6
7.. kernel-doc:: include/linux/crypto.h
8   :functions: crypto_alg ablkcipher_alg blkcipher_alg cipher_alg
9
10Symmetric Key Cipher API
11------------------------
12
13.. kernel-doc:: include/crypto/skcipher.h
14   :doc: Symmetric Key Cipher API
15
16.. kernel-doc:: include/crypto/skcipher.h
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
18
19Symmetric Key Cipher Request Handle
20-----------------------------------
21
22.. kernel-doc:: include/crypto/skcipher.h
23   :doc: Symmetric Key Cipher Request Handle
24
25.. kernel-doc:: include/crypto/skcipher.h
26   :functions: crypto_skcipher_reqsize skcipher_request_set_tfm skcipher_request_alloc skcipher_request_free skcipher_request_set_callback skcipher_request_set_crypt
27
28Single Block Cipher API
29-----------------------
30
31.. kernel-doc:: include/linux/crypto.h
32   :doc: Single Block Cipher API
33
34.. kernel-doc:: include/linux/crypto.h
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
36
37Asynchronous Block Cipher API - Deprecated
38------------------------------------------
39
40.. kernel-doc:: include/linux/crypto.h
41   :doc: Asynchronous Block Cipher API
42
43.. kernel-doc:: include/linux/crypto.h
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
45
46Asynchronous Cipher Request Handle - Deprecated
47-----------------------------------------------
48
49.. kernel-doc:: include/linux/crypto.h
50   :doc: Asynchronous Cipher Request Handle
51
52.. kernel-doc:: include/linux/crypto.h
53   :functions: crypto_ablkcipher_reqsize ablkcipher_request_set_tfm ablkcipher_request_alloc ablkcipher_request_free ablkcipher_request_set_callback ablkcipher_request_set_crypt
54
55Synchronous Block Cipher API - Deprecated
56-----------------------------------------
57
58.. kernel-doc:: include/linux/crypto.h
59   :doc: Synchronous Block Cipher API
60
61.. kernel-doc:: include/linux/crypto.h
62   :functions: crypto_alloc_blkcipher crypto_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
63