]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] gcm: Fix ICV handling
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 4 Dec 2007 08:17:50 +0000 (19:17 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:31 +0000 (08:16 +1100)
commit6160b289929c0b622e64aa36106d8e6e53fcd826
treed8968b0e4aea9d9ef80459d344cd9f4a3e6221b2
parent8df213d9b520a4b58b7a8f7f2200324d4e40363d
[CRYPTO] gcm: Fix ICV handling

The crypto_aead convention for ICVs is to include it directly in the
output.  If we decided to change this in future then we would make
the ICV (if the algorithm has an explicit one) available in the
request itself.

For now no algorithm needs this so this patch changes gcm to conform
to this convention.  It also adjusts the tcrypt aead tests to take
this into account.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/gcm.c
crypto/tcrypt.c
crypto/tcrypt.h