crypto: enable sha512 algorithm
authorYixun Lan <yixun.lan@amlogic.com>
Fri, 25 May 2018 05:50:50 +0000 (13:50 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 21 Jun 2018 08:40:26 +0000 (01:40 -0700)
PD#167119: crypto: enable sha512 algorithm

this is need by VtsKernelNetTests, the xfrm test case
will require this option to work, otherwise will fail

errors info:
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv4_TCP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv4_UDP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv6_TCP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv6_UDP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_512_IPv4_TCP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR

Change-Id: I7f2502c4c76c09f00fe2719aac3f26b9b0d7f772
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
arch/arm64/configs/meson64_defconfig

index 62ad862..a42e183 100644 (file)
@@ -587,6 +587,7 @@ CONFIG_SECURITY_SELINUX=y
 CONFIG_SECURITY_SMACK=y
 CONFIG_CRYPTO_CRYPTD=y
 CONFIG_CRYPTO_MICHAEL_MIC=y
+CONFIG_CRYPTO_SHA512=y
 CONFIG_CRYPTO_TWOFISH=y
 CONFIG_CRYPTO_ANSI_CPRNG=y
 CONFIG_CRYPTO_USER_API_HASH=y