On Tue, Sep 18, 2018 at 12:34:55PM +0300, Tomas Winkler wrote: > 1. Use tpm_buf in tpm1_get_random() > 2. Fix comment in tpm_get_random() so it is clear that > the function is expected to return number of random bytes. > > Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko