CR_1737:crypto:starfive: Fixed AEAD tag generation and verification
authorjiajie.ho <jiajie.ho@starfivetech.com>
Thu, 22 Sep 2022 04:31:49 +0000 (12:31 +0800)
committerjiajie.ho <jiajie.ho@starfivetech.com>
Thu, 22 Sep 2022 04:31:49 +0000 (12:31 +0800)
commit29d13d0ab0d058214e9487c0ebc6d05d71663ff3
treed083852917a6e00eb5fcb3bae543124d2b4ab656
parentd8ad936cf0270fd53807f609a8fc9eeea6abd7d6
CR_1737:crypto:starfive: Fixed AEAD tag generation and verification

Added support in AES GCM and CCM mode for various tag length and
tag verification for non-AES blocksize aligned text.

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
drivers/crypto/starfive/jh7110/jh7110-aes.c
drivers/crypto/starfive/jh7110/jh7110-pka.c
drivers/crypto/starfive/jh7110/jh7110-sha.c
drivers/crypto/starfive/jh7110/jh7110-str.h