]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(intel): support crypto service key operation
authorSieu Mun Tang <sieu.mun.tang@intel.com>
Mon, 9 May 2022 06:16:14 +0000 (14:16 +0800)
committerSieu Mun Tang <sieu.mun.tang@intel.com>
Wed, 11 May 2022 02:06:41 +0000 (10:06 +0800)
commit342a0618c7ff89327ac5b34dc0713509ffae609b
tree2479eefce1487d42ad01bb9cded9a71e665cf1b0
parent6dc00c24ab0100a2aae0f416c72470f8ed17e149
feat(intel): support crypto service key operation

Support crypto service key operation mailbox commands through SMC.

Crypto service key operation begin by sending an open crypto service
session request to SDM firmware. Once successfully open the session,
send crypto service key management commands (import, export, remove
and get key info) with the associated session id to SDM firmware.
The crypto service key is required before perform any crypto service
(encryption, signing, etc). Last, close the session after finishes
crypto service. All crypto service keys associated with this session
will be erased by SDM firmware.

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Signed-off-by: Boon Khai Ng <boon.khai.ng@intel.com>
Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com>
Change-Id: I02406533f38b9607eb1ec7e1395b9dc2d084a9e3
plat/intel/soc/common/include/socfpga_fcs.h
plat/intel/soc/common/include/socfpga_mailbox.h
plat/intel/soc/common/include/socfpga_sip_svc.h
plat/intel/soc/common/sip/socfpga_sip_fcs.c
plat/intel/soc/common/socfpga_sip_svc.c