Tegra210B01: initialize DRBG on boot and resume
authorSam Payne <spayne@nvidia.com>
Mon, 15 May 2017 18:10:37 +0000 (11:10 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 16 Jan 2019 18:12:12 +0000 (10:12 -0800)
commit8668fe0c80bf579d697f1e71c62cd8e8d5e7231d
treec19f6204baddfacea14ee0105babe7bc7fe44c70
parentdd1a71f1c2410216ee360c9e496e0e2047d8bdab
Tegra210B01: initialize DRBG on boot and resume

DRBG must be initialized to guarantee SRK has a random
value during suspend. This patch add a sequence to generate
an SRK on boot and during resume for SE1 and SE2. This SRK
value is not saved to PMC scratch, and should be overwitten
during atomic suspend.

Change-Id: Id5e2dc74a1b462dd6addaec1709fec46083a6e1c
Signed-off-by: Sam Payne <spayne@nvidia.com>
plat/nvidia/tegra/soc/t210/drivers/se/se_private.h
plat/nvidia/tegra/soc/t210/drivers/se/security_engine.c