mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
nvvse: Enable SM4 CMAC support
Jira ESSS-1409 Change-Id: Ib13b2901cbec8e4b9670fbe43960514e614a60c0 Signed-off-by: Prashant Parihar <pparihar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3170104 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
783f728b32
commit
afb2145beb
@@ -425,6 +425,11 @@ struct tegra_nvvse_aes_cmac_sign_verify_ctl {
|
||||
* - Non-zero value indicates CMAC verification failure.
|
||||
*/
|
||||
uint8_t result;
|
||||
/** [out] Holds SM4 CMAC flag value for request
|
||||
* - '0' indicates AES CMAC request
|
||||
* - Non-zero value indicates SM4 CMAC request.
|
||||
*/
|
||||
uint8_t is_SM4;
|
||||
};
|
||||
#define NVVSE_IOCTL_CMDID_AES_CMAC_SIGN_VERIFY _IOWR(TEGRA_NVVSE_IOC_MAGIC, \
|
||||
TEGRA_NVVSE_CMDID_AES_CMAC_SIGN_VERIFY, \
|
||||
|
||||
Reference in New Issue
Block a user