xref: /openbmc/linux/Documentation/crypto/api.rst (revision 60772e48)
1Programming Interface
2=====================
3
4Please note that the kernel crypto API contains the AEAD givcrypt API
5(crypto_aead_giv\* and aead_givcrypt\* function calls in
6include/crypto/aead.h). This API is obsolete and will be removed in the
7future. To obtain the functionality of an AEAD cipher with internal IV
8generation, use the IV generator as a regular cipher. For example,
9rfc4106(gcm(aes)) is the AEAD cipher with external IV generation and
10seqniv(rfc4106(gcm(aes))) implies that the kernel crypto API generates
11the IV. Different IV generators are available.
12
13.. class:: toc-title
14
15	   Table of contents
16
17.. toctree::
18   :maxdepth: 2
19
20   api-skcipher
21   api-aead
22   api-digest
23   api-rng
24   api-akcipher
25   api-kpp
26