Chapter 5. Programming Interface
Prev |  | Next

# Chapter 5. Programming Interface

Please note that the kernel crypto API contains the AEAD givcrypt API (crypto_aead_giv* and aead_givcrypt_* function calls in include/crypto/aead.h). This API is obsolete and will be removed in the future. To obtain the functionality of an AEAD cipher with internal IV generation, use the IV generator as a regular cipher. For example, rfc4106(gcm(aes)) is the AEAD cipher with external IV generation and seqniv(rfc4106(gcm(aes))) implies that the kernel crypto API generates the IV. Different IV generators are available.

## Block Cipher Context Data Structures

These data structures define the operating context for each block cipher type.

Prev |  | Next
User space API example | Home | struct aead_request