Searched refs:sec_attest_info (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/accel/habanalabs/common/ |
D | habanalabs_ioctl.c | 670 static int sec_attest_info(struct hl_fpriv *hpriv, struct hl_info_args *args) in sec_attest_info() function 673 struct cpucp_sec_attest_info *sec_attest_info; in sec_attest_info() local 681 sec_attest_info = kmalloc(sizeof(*sec_attest_info), GFP_KERNEL); in sec_attest_info() 682 if (!sec_attest_info) in sec_attest_info() 691 rc = hl_fw_get_sec_attest_info(hpriv->hdev, sec_attest_info, args->sec_attest_nonce); in sec_attest_info() 695 info->nonce = le32_to_cpu(sec_attest_info->nonce); in sec_attest_info() 696 info->pcr_quote_len = le16_to_cpu(sec_attest_info->pcr_quote_len); in sec_attest_info() 697 info->pub_data_len = le16_to_cpu(sec_attest_info->pub_data_len); in sec_attest_info() 698 info->certificate_len = le16_to_cpu(sec_attest_info->certificate_len); in sec_attest_info() 699 info->pcr_num_reg = sec_attest_info->pcr_num_reg; in sec_attest_info() [all …]
|
D | firmware_if.c | 3255 int hl_fw_get_sec_attest_info(struct hl_device *hdev, struct cpucp_sec_attest_info *sec_attest_info, in hl_fw_get_sec_attest_info() argument 3258 return hl_fw_get_sec_attest_data(hdev, CPUCP_PACKET_SEC_ATTEST_GET, sec_attest_info, in hl_fw_get_sec_attest_info()
|
D | habanalabs.h | 3884 int hl_fw_get_sec_attest_info(struct hl_device *hdev, struct cpucp_sec_attest_info *sec_attest_info,
|