swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 566cf877a1fcb6d6dc0126b076aad062054c2637 authored by Linus Torvalds on 29 January 2017, 22:25:17 UTC
Linux 4.10-rc6
Tip revision: 566cf87
api.rst
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.

.. class:: toc-title

	   Table of contents

.. toctree::
   :maxdepth: 2

   api-skcipher
   api-aead
   api-digest
   api-rng
   api-akcipher
   api-kpp
back to top