Add support for passing keyslot usage to SE-Server

This patch adds support for passing keyslot usage to SE-Server

Bug 5236776

Change-Id: Iafa6ec15daff6f2acefad207e8b1939f656d7d3f
Signed-off-by: Surajit Karmakar <skarmakar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3348146
(cherry picked from commit f438b482a173bc745af46fe5b08f10a806b43a2f)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3361963
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Sriharsha Allenki <sallenki@nvidia.com>
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Khushi . <khushi@nvidia.com>
Reviewed-by: Leo Chiu <lchiu@nvidia.com>
This commit is contained in:
Surajit Karmakar
2025-04-23 23:34:06 +05:30
committed by Jon Hunter
parent 2085a29b32
commit a7b08a9c27
4 changed files with 6 additions and 0 deletions

View File

@@ -127,6 +127,8 @@ enum tegra_nvvse_cmac_type {
struct tegra_nvvse_allocate_key_slot_ctl {
/** [in] Holds the key id */
uint8_t key_id[KEYSLOT_SIZE_BYTES];
/** [in] Holds the key usage */
uint8_t key_usage;
/** [in] Holds the token id */
uint8_t token_id;
/** [out] Holds the Key instance index */