diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-01-17 21:52:11 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-01-17 21:52:11 +1100 |
commit | 73c89c15b959adf06366722c4be8d2eddec0a529 (patch) | |
tree | 91c0d936c49607fbae703e4c7331e39896004d28 /include/linux/pfkeyv2.h | |
parent | faad98f29606d9d3c6bddae7c88693be37d2fb43 (diff) | |
download | linux-73c89c15b959adf06366722c4be8d2eddec0a529.tar.gz linux-73c89c15b959adf06366722c4be8d2eddec0a529.tar.bz2 linux-73c89c15b959adf06366722c4be8d2eddec0a529.zip |
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>
Diffstat (limited to 'include/linux/pfkeyv2.h')
-rw-r--r-- | include/linux/pfkeyv2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pfkeyv2.h b/include/linux/pfkeyv2.h index 228b0b6306b0..0b80c806631f 100644 --- a/include/linux/pfkeyv2.h +++ b/include/linux/pfkeyv2.h @@ -315,6 +315,7 @@ struct sadb_x_kmaddress { #define SADB_X_EALG_AES_GCM_ICV12 19 #define SADB_X_EALG_AES_GCM_ICV16 20 #define SADB_X_EALG_CAMELLIACBC 22 +#define SADB_X_EALG_NULL_AES_GMAC 23 #define SADB_EALG_MAX 253 /* last EALG */ /* private allocations should use 249-255 (RFC2407) */ #define SADB_X_EALG_SERPENTCBC 252 /* draft-ietf-ipsec-ciph-aes-cbc-00 */ |