Re: [PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-03-04 Thread Sughosh Ganu
hi Simon, On Fri, 4 Mar 2022 at 08:08, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 3 Mar 2022 at 05:07, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Thu, 3 Mar 2022 at 09:17, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Tue, 1 Mar 2022 at 21:36, Sughosh Ganu wrote: > > > >

Re: [PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-03-03 Thread Simon Glass
Hi Sughosh, On Thu, 3 Mar 2022 at 05:07, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 3 Mar 2022 at 09:17, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Tue, 1 Mar 2022 at 21:36, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Tue, 1 Mar 2022 at 20:28, Simon Glass wrote: > > > >

Re: [PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-03-03 Thread Sughosh Ganu
hi Simon, On Thu, 3 Mar 2022 at 09:17, Simon Glass wrote: > > Hi Sughosh, > > On Tue, 1 Mar 2022 at 21:36, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Tue, 1 Mar 2022 at 20:28, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu > > > wrote:

Re: [PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-03-02 Thread Simon Glass
Hi Sughosh, On Tue, 1 Mar 2022 at 21:36, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 1 Mar 2022 at 20:28, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu wrote: > > > > > > Currently, the TPM random number generator(RNG) functions are defined > > >

Re: [PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-03-01 Thread Sughosh Ganu
hi Simon, On Tue, 1 Mar 2022 at 20:28, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu wrote: > > > > Currently, the TPM random number generator(RNG) functions are defined > > as part of the library functions under the corresponding tpm files for > > tpmv1 and

Re: [PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-03-01 Thread Simon Glass
Hi Sughosh, On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu wrote: > > Currently, the TPM random number generator(RNG) functions are defined > as part of the library functions under the corresponding tpm files for > tpmv1 and tpmv2. Move the RNG functionality under TPM RNG drivers > complying with

[PATCH v2 07/10] tpm: rng: Move the TPM RNG functionality to driver model

2022-02-28 Thread Sughosh Ganu
Currently, the TPM random number generator(RNG) functions are defined as part of the library functions under the corresponding tpm files for tpmv1 and tpmv2. Move the RNG functionality under TPM RNG drivers complying with the driver model. Also make changes to the tpm_get_random function to have