23 Jul, 2020

3 commits

  • Add support for sa2ul hardware AEAD for hmac(sha256),cbc(aes) and
    hmac(sha1),cbc(aes) algorithms.

    Signed-off-by: Keerthy
    [t-kristo@ti.com: number of bug fixes, major refactoring and cleanup of
    code]
    Signed-off-by: Tero Kristo
    Signed-off-by: Herbert Xu

    Keerthy
     
  • Add support for sha1/sha256/sha512 sa2ul based hardware authentication.
    With the hash update mechanism, we always use software fallback
    mechanism for now, as there is no way to fetch the partial hash state
    from the HW accelerator. HW accelerator is only used when digest is
    called for a data chunk of known size.

    Signed-off-by: Keerthy
    [t-kristo@ti.com: various bug fixes, major cleanups and refactoring of code]
    Signed-off-by: Tero Kristo
    Signed-off-by: Herbert Xu

    Keerthy
     
  • Adds a basic crypto driver and currently supports AES/3DES
    in cbc mode for both encryption and decryption.

    Signed-off-by: Keerthy
    [t-kristo@ti.com: major re-work to fix various bugs in the driver and to
    cleanup the code]
    Signed-off-by: Tero Kristo
    Signed-off-by: Herbert Xu

    Keerthy