diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-10-16 14:53:50 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-17 09:53:07 -0700 |
commit | 979440a583ad4e3de8b4c29e7a0861206eb271aa (patch) | |
tree | 16e285288a6b1c8d3be3a246e2880c0ca04230d2 /chip/stm32/build.mk | |
parent | 92e350197aae867bebd3c017ca678d11c9a64162 (diff) | |
download | chrome-ec-979440a583ad4e3de8b4c29e7a0861206eb271aa.tar.gz |
Provide interface to random number generator
It needs to be possible to retrieve an arbitrary number of random
bytes, which is accomplished by this _cpri__GenerateRandom()
implementation.
Also, this patch rearranges the board initialization code to
initialize both interrupts and the TRNG.
CL-DEPEND=CL:306781
BRANCH=none
BUG=chrome-os-partner:43025
TEST=ran a couple of tests retrieving random numbers from TPM,
observed randomly looking values generated (this is not a
validation of the TRNG implementation).
Change-Id: I6314cdf5e6e96443b3fadb7f1502fc8477c41d0f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/306780
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
0 files changed, 0 insertions, 0 deletions