]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] api: Add aead crypto type
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 Aug 2007 07:36:14 +0000 (15:36 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:39 +0000 (16:55 -0700)
commita1c6dc1f9d4750bef5c0ebc84cb267361dd74ae7
tree89dac5bceddd383836de9a4da6cc7d381f374e3f
parentd77a6d295070381b8f52e470ea7a9271bb957179
[CRYPTO] api: Add aead crypto type

This patch adds crypto_aead which is the interface for AEAD
(Authenticated Encryption with Associated Data) algorithms.

AEAD algorithms perform authentication and encryption in one
step.  Traditionally users (such as IPsec) would use two
different crypto algorithms to perform these.  With AEAD
this comes down to one algorithm and one operation.

Of course if traditional algorithms were used we'd still
be doing two operations underneath.  However, real AEAD
algorithms may allow the underlying operations to be
optimised as well.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/aead.c [new file with mode: 0644]
include/crypto/algapi.h
include/linux/crypto.h