mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: inside-secure - Added support for the rfc4543(gcm(aes)) "AEAD"
This patch adds support for rfc4543(gcm(aes)) - i.e. AES-GMAC - for use with IPsec ESP Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
a19052d422
commit
92c60cefa4
@@ -407,6 +407,7 @@ struct safexcel_context_record {
|
||||
#define EIP197_XCM_MODE_CCM 2
|
||||
|
||||
#define EIP197_AEAD_TYPE_IPSEC_ESP 2
|
||||
#define EIP197_AEAD_TYPE_IPSEC_ESP_GMAC 3
|
||||
#define EIP197_AEAD_IPSEC_IV_SIZE 8
|
||||
#define EIP197_AEAD_IPSEC_NONCE_SIZE 4
|
||||
|
||||
@@ -913,5 +914,6 @@ extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha224_cbc_des;
|
||||
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha512_cbc_des;
|
||||
extern struct safexcel_alg_template safexcel_alg_authenc_hmac_sha384_cbc_des;
|
||||
extern struct safexcel_alg_template safexcel_alg_rfc4106_gcm;
|
||||
extern struct safexcel_alg_template safexcel_alg_rfc4543_gcm;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user