crypto: gcm - Add RFC4543 wrapper for GCM
commit73c89c15b959adf06366722c4be8d2eddec0a529
authorTobias Brunner <tobias@strongswan.org>
Sun, 17 Jan 2010 10:52:11 +0000 (17 21:52 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Jan 2010 10:52:11 +0000 (17 21:52 +1100)
tree91c0d936c49607fbae703e4c7331e39896004d28
parentfaad98f29606d9d3c6bddae7c88693be37d2fb43
crypto: gcm - Add RFC4543 wrapper for GCM

This patch adds the RFC4543 (GMAC) wrapper for GCM similar to the
existing RFC4106 wrapper. The main differences between GCM and GMAC are
the contents of the AAD and that the plaintext is empty for the latter.

Signed-off-by: Tobias Brunner <tobias@strongswan.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/gcm.c
include/linux/pfkeyv2.h
net/xfrm/xfrm_algo.c