summaryrefslogtreecommitdiff
path: root/futility
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2018-11-07 22:43:19 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-27 00:34:09 -0800
commit8fbb4b8c7b9311e7a816cc529cdcffbb2e315ff9 (patch)
treeabe7e989907451f9f16bd117f470847d39674ed8 /futility
parentaa7bf63978082e4e55c0e11836964d8996f22c53 (diff)
downloadvboot-8fbb4b8c7b9311e7a816cc529cdcffbb2e315ff9.tar.gz
firmware: tpm2_lite: Implement TlclGetRandom()
Implement support for getting random bytes from the TPM in the tpm2 library. The intent is to use this to seed the kaslr-seed DT property on ARM devices. BRANCH=None BUG=None TEST=Generate some random bytes in depthcharge using this API, and 'stop trunksd; tpmc rand <size>' with sizes (0, 1, 0xf0, and 0xf1) on the device and see the last one fail Change-Id: Ied0dc1ead70ac4daa2cee315516160ec100039be Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1327187 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'futility')
0 files changed, 0 insertions, 0 deletions