From: yhe <y...@sonicwall.com>

---
/** Email created from pull request 470 (SonicwallYhe:api-next-seperate)
 ** https://github.com/Linaro/odp/pull/470
 ** Patch: https://github.com/Linaro/odp/pull/470.patch
 ** Base sha: af7be638ef9ac98bdb1f2e4917f152889eb1850f
 ** Merge commit sha: f30e7ae4157bae994d5734b8917d2dd31dbf201e
 **/
 platform/linux-generic/odp_ipsec_sad.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/platform/linux-generic/odp_ipsec_sad.c 
b/platform/linux-generic/odp_ipsec_sad.c
index 3ac8c49c3..e7a3c410b 100644
--- a/platform/linux-generic/odp_ipsec_sad.c
+++ b/platform/linux-generic/odp_ipsec_sad.c
@@ -244,8 +244,12 @@ uint32_t _odp_ipsec_auth_digest_len(odp_auth_alg_t auth)
 #endif
        case ODP_AUTH_ALG_SHA256_HMAC:
                return 16;
+       case ODP_AUTH_ALG_SHA384_HMAC:
+               return 24;
        case ODP_AUTH_ALG_SHA512_HMAC:
                return 32;
+       case ODP_AUTH_ALG_AES_XCBC_MAC:
+               return 12;
 #if ODP_DEPRECATED_API
        case ODP_AUTH_ALG_AES128_GCM:
 #endif

Reply via email to