ARM: dts: msm: Route to sw crypto for hmac and aead on msm8937
For crypto operations, kernel applications request for tfm by using crypto_alloc with algorithm name, which ever algorithm was registered first those will be used for completing the requested process. HW crypto driver has different algorithm names to use HW crypto calls instead of SW crypto. Two flags has been missed on this targets which leads all the crypto calls to HW crypto, for smaller size packets its not advisable to use HW crypto. This patch adds dtsi flags to route all the calls to SW instead HW for hmac and aead alogs. If app wants to use HW crypto then it should append "qcom-" to the name of crypto algorithms. Change-Id: Iaaaf36c479622744e6871b7615876c35063cc47f Signed-off-by:AnilKumar Chimata <anilc@codeaurora.org> Signed-off-by:
Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
Loading
Please register or sign in to comment