git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdfbb0
)
examples/ipsec-secgw: fix SHA256-HMAC digest length
author
Vakul Garg
<vakul.garg@nxp.com>
Wed, 6 Nov 2019 09:53:22 +0000
(15:23 +0530)
committer
Akhil Goyal
<akhil.goyal@nxp.com>
Fri, 8 Nov 2019 12:51:16 +0000
(13:51 +0100)
As per RFC4868, SHA-256 should use 128 bits of ICV.
Fixes:
b5350285ce6e
("examples/ipsec-secgw: support SHA256 HMAC")
Cc: stable@dpdk.org
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/sa.c
patch
|
blob
|
history
diff --git
a/examples/ipsec-secgw/sa.c
b/examples/ipsec-secgw/sa.c
index
a8dee34
..
f56e16b
100644
(file)
--- a/
examples/ipsec-secgw/sa.c
+++ b/
examples/ipsec-secgw/sa.c
@@
-115,7
+115,7
@@
const struct supported_auth_algo auth_algos[] = {
{
.keyword = "sha256-hmac",
.algo = RTE_CRYPTO_AUTH_SHA256_HMAC,
- .digest_len = 1
2
,
+ .digest_len = 1
6
,
.key_len = 32
}
};