Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-11 Thread Simon Glass
Hi Sughosh, On Sun, 6 Mar 2022 at 00:03, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 6 Mar 2022 at 08:37, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Fri, 4 Mar 2022 at 06:44, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Fri, 4 Mar 2022 at 08:07, Simon Glass wrote: > > > >

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-05 Thread Sughosh Ganu
hi Simon, On Sun, 6 Mar 2022 at 08:37, Simon Glass wrote: > > Hi Sughosh, > > On Fri, 4 Mar 2022 at 06:44, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Fri, 4 Mar 2022 at 08:07, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Thu, 3 Mar 2022 at 05:11, Sughosh Ganu wrote: > > > >

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-05 Thread Simon Glass
Hi Sughosh, On Fri, 4 Mar 2022 at 06:44, Sughosh Ganu wrote: > > hi Simon, > > On Fri, 4 Mar 2022 at 08:07, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Thu, 3 Mar 2022 at 05:11, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Thu, 3 Mar 2022 at 09:18, Simon Glass wrote: > > > >

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-04 Thread Ilias Apalodimas
Hi, [...] > > > > > > I think it is easier to just protect the child addition functions > > > under CONFIG_TPM rather than create SPL_RNG and TPL_RNG symbols. We > > > don't have any requirement for generating random numbers in the SPL > > > and TPL stages. I feel that creating new symbols just

Re: [PATCH v2 08/10] tpm: Add the RNG child device

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

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-03 Thread Simon Glass
Hi Sughosh, On Thu, 3 Mar 2022 at 05:11, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 3 Mar 2022 at 09:18, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Tue, 1 Mar 2022 at 21:53, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Tue, 1 Mar 2022 at 20:29, Simon Glass wrote: > > > >

Re: [PATCH v2 08/10] tpm: Add the RNG child device

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

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-02 Thread Simon Glass
Hi Sughosh, On Tue, 1 Mar 2022 at 21:53, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 1 Mar 2022 at 20:29, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu wrote: > > > > > > The TPM device comes with the random number generator(RNG) > > >

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-01 Thread Sughosh Ganu
hi Simon, On Tue, 1 Mar 2022 at 20:29, Simon Glass wrote: > > Hi Sughosh, > > On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu wrote: > > > > The TPM device comes with the random number generator(RNG) > > functionality which is built into the TPM device. Add logic to add the > > RNG child device in

Re: [PATCH v2 08/10] tpm: Add the RNG child device

2022-03-01 Thread Simon Glass
Hi Sughosh, On Mon, 28 Feb 2022 at 05:07, Sughosh Ganu wrote: > > The TPM device comes with the random number generator(RNG) > functionality which is built into the TPM device. Add logic to add the > RNG child device in the TPM uclass post probe callback. > > The RNG device can then be used to

[PATCH v2 08/10] tpm: Add the RNG child device

2022-02-28 Thread Sughosh Ganu
The TPM device comes with the random number generator(RNG) functionality which is built into the TPM device. Add logic to add the RNG child device in the TPM uclass post probe callback. The RNG device can then be used to pass a set of random bytes to the linux kernel, need for address space