The full authentication via the GSC requires an heci packet submission to the GSC FW via the GSC CS. The GSC has new PXP command for this (literally called NEW_HUC_AUTH). The intel_huc_auth function is also updated to handle both authentication types. v2: check that the GuC auth for clear media has completed before proceding with the full auth v3: use a define for the object size (Alan) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230531235415.1467475-6-daniele.ceraolospurio@intel.com
18 lines
470 B
C
18 lines
470 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2014-2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_HUC_FW_H_
|
|
#define _INTEL_HUC_FW_H_
|
|
|
|
struct intel_huc;
|
|
struct intel_uc_fw;
|
|
|
|
#include <linux/types.h>
|
|
|
|
int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc);
|
|
int intel_huc_fw_auth_via_gsccs(struct intel_huc *huc);
|
|
int intel_huc_fw_upload(struct intel_huc *huc);
|
|
int intel_huc_fw_get_binary_info(struct intel_uc_fw *huc_fw, const void *data, size_t size);
|
|
#endif
|