mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00: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:
parent
a19052d422
commit
92c60cefa4
3 changed files with 74 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue