[PATCH v3 16/20] tpm: tpm1: rewrite tpm1_get_random() using tpm_buf structure

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Wed Sep 19 15:12:57 UTC 2018


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 at intel.com>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>

/Jarkko



More information about the Linux-security-module-archive mailing list