Skip to content
  • AnilKumar Chimata's avatar
    ARM: dts: msm: Route to sw crypto for hmac and aead on msm8939 · 471bc541
    AnilKumar Chimata authored
    
    
    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: I1dc4e4c9c78272a05ae62c95c740cc47b9d7a3cb
    Signed-off-by: default avatarAnilKumar Chimata <anilc@codeaurora.org>
    471bc541