]> git.baikalelectronics.ru Git - kernel.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)
commit76bb543477fd45572c5772140d3257cca6558dd7
treed8968b0e4aea9d9ef80459d344cd9f4a3e6221b2
parent83ca130c28554b59e2652b17a9633c5f26daf82f
[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