xref: /linux/Documentation/crypto/api-kpp.rst (revision 68a052239fc4b351e961f698b824f7654a346091)
1Key-agreement Protocol Primitives (KPP)
2=======================================
3
4Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions
5--------------------------------------------------------------------
6
7.. kernel-doc:: include/crypto/kpp.h
8   :functions: kpp_request crypto_kpp kpp_alg kpp_secret
9
10Key-agreement Protocol Primitives (KPP) Cipher API
11--------------------------------------------------
12
13.. kernel-doc:: include/crypto/kpp.h
14   :doc: Generic Key-agreement Protocol Primitives API
15
16.. kernel-doc:: include/crypto/kpp.h
17   :functions: crypto_alloc_kpp crypto_free_kpp crypto_kpp_set_secret crypto_kpp_generate_public_key crypto_kpp_compute_shared_secret crypto_kpp_maxsize
18
19Key-agreement Protocol Primitives (KPP) Cipher Request Handle
20-------------------------------------------------------------
21
22.. kernel-doc:: include/crypto/kpp.h
23   :functions: kpp_request_alloc kpp_request_free kpp_request_set_callback kpp_request_set_input kpp_request_set_output
24
25ECDH Helper Functions
26---------------------
27
28.. kernel-doc:: include/crypto/ecdh.h
29   :doc: ECDH Helper Functions
30
31.. kernel-doc:: include/crypto/ecdh.h
32   :functions: ecdh crypto_ecdh_key_len crypto_ecdh_encode_key crypto_ecdh_decode_key
33
34DH Helper Functions
35-------------------
36
37.. kernel-doc:: include/crypto/dh.h
38   :doc: DH Helper Functions
39
40.. kernel-doc:: include/crypto/dh.h
41   :functions: dh crypto_dh_key_len crypto_dh_encode_key crypto_dh_decode_key
42