tpm: add tpm_get_random()
authorAndré Draszik <adraszik@tycoint.com>
Tue, 3 Oct 2017 15:55:52 +0000 (16:55 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Nov 2017 14:15:40 +0000 (07:15 -0700)
commit3c6050277b54f536e7effbe850dcc970a27387ab
tree0060f5315a771e64bff35445700b4db84d3a72f5
parente8155dfe33eb2b3e538e8717d6578c1d08651454
tpm: add tpm_get_random()

Add a function to obtain random data from the TPM.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Added commit message, add cast to min()
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
include/tpm.h
lib/tpm.c