]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(intel): support extended random number generation
authorSieu Mun Tang <sieu.mun.tang@intel.com>
Tue, 10 May 2022 09:18:19 +0000 (17:18 +0800)
committerSieu Mun Tang <sieu.mun.tang@intel.com>
Wed, 11 May 2022 08:56:45 +0000 (16:56 +0800)
commit24f9dc8a43fea350416ca9312a78ab4e786da8ad
tree4ff15fda4a2f6ee279d1b6f4c5de2d15c1ca5ce9
parent342a0618c7ff89327ac5b34dc0713509ffae609b
feat(intel): support extended random number generation

The random number generation (RNG) mailbox command format
is updated to extends the support to upto 4080 bytes random
number generation. The new RNG format requires an opened
crypto service session.

A separated SMC function ID is introduced for the new RNG
format and it is only supported by Agilex.

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: I3f044a3c01ff7cb50be4705e2c1f982bf6f61432
plat/intel/soc/common/include/socfpga_fcs.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