[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)
commit1ae978208e2ee9ba1b01d309164bc5e590cd242d
tree89dac5bceddd383836de9a4da6cc7d381f374e3f
parente2ee95b8c69e542d6afef3f6f38ea598cc146ba7
[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