summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorKim Phillips <Kim.Phillips@freescale.com>2014-05-22 22:05:46 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-05-22 22:42:28 (GMT)
commit943e3ef93c265b5f4f8528c75edb2bca95f802cd (patch)
tree1c932bff5527de7592a04bdf825fc2e98f7a09b4 /net
parentc9b7e8bcef1fb9476e4198c66bc066d1a22acb24 (diff)
downloadlinux-fsl-qoriq-943e3ef93c265b5f4f8528c75edb2bca95f802cd.tar.xz
Revert "Patch to modify default ICV lengh of SHA2 to 128 bits."
This reverts commit c9b7e8bcef1fb9476e4198c66bc066d1a22acb24. Horia is right - this issue must be fixed in userspace to avoid inter-kernel version compatibility (e.g., this now makes the SDK kernel not able to run IPSec SHA2 with any other kernel). If the tools you are using don't support it, either use a tool that does, or fix the tool itself. Change-Id: I48db232b1e55bc5bd9957667b88fe27e66114546 Reviewed-on: http://git.am.freescale.net:8181/12825 Reviewed-by: Scott Wood <scottwood@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com> Tested-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'net')
-rw-r--r--net/xfrm/xfrm_algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index daed579..ab4ef72 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -220,7 +220,7 @@ static struct xfrm_algo_desc aalg_list[] = {
.uinfo = {
.auth = {
- .icv_truncbits = 128,
+ .icv_truncbits = 96,
.icv_fullbits = 256,
}
},