Juno: Introduce juno_getentropy(void *buf, size_t len)
authordp-arm <dimitris.papastamos@arm.com>
Mon, 27 Feb 2017 12:21:43 +0000 (12:21 +0000)
committerdp-arm <dimitris.papastamos@arm.com>
Fri, 31 Mar 2017 12:58:51 +0000 (13:58 +0100)
commitdf9a39eaa956a42020f436d4fe5fb47d5ae793d0
tree728f7357c32da602b42a65e3e70be0b464e9532b
parent233d83d06c22adaefc82dcacbe8b29ab20d76c35
Juno: Introduce juno_getentropy(void *buf, size_t len)

This function fills the buffer (first argument) with the specified
number of bytes (second argument) from the trusted entropy source.

This function will be used to initialize the stack protector canary.

Change-Id: Iff15aaf4778c13fa883ecb5528fcf9b8479d4489
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
plat/arm/board/juno/juno_decl.h [new file with mode: 0644]
plat/arm/board/juno/juno_def.h
plat/arm/board/juno/juno_trng.c [new file with mode: 0644]
plat/arm/board/juno/platform.mk