Re: Security Random Number Generator support

2020-06-18 Thread Neal Liu
Hi Marc, On Thu, 2020-06-18 at 10:50 +0100, Marc Zyngier wrote: > On 2020-06-03 08:54, Neal Liu wrote: > > Hi Neal, > > > Do you know which ARM expert could edict this standard? > > Or is there any chance that we can make one? And be reviewed by > > maintainers? > > It appears that ARM just

Re: Security Random Number Generator support

2020-06-18 Thread Marc Zyngier
On 2020-06-03 08:54, Neal Liu wrote: Hi Neal, Do you know which ARM expert could edict this standard? Or is there any chance that we can make one? And be reviewed by maintainers? It appears that ARM just released a beta version of the spec at [1]. I'd encourage you (and anyone else) to have

Re: Security Random Number Generator support

2020-06-08 Thread Sumit Garg
Hi Neal, On Fri, 5 Jun 2020 at 14:40, Neal Liu wrote: > > On Fri, 2020-06-05 at 09:09 +0100, Russell King - ARM Linux admin wrote: > > On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > > > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > > > This kind of

Re: Security Random Number Generator support

2020-06-05 Thread Russell King - ARM Linux admin
On Fri, Jun 05, 2020 at 04:59:42PM +0800, Neal Liu wrote: > On Fri, 2020-06-05 at 09:09 +0100, Russell King - ARM Linux admin wrote: > > On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > > > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > > > This kind of

Re: Security Random Number Generator support

2020-06-05 Thread Neal Liu
On Fri, 2020-06-05 at 09:09 +0100, Russell King - ARM Linux admin wrote: > On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > > This kind of thing is something that ARM have seems to shy away from > > > doing -

Re: Security Random Number Generator support

2020-06-05 Thread Russell King - ARM Linux admin
On Fri, Jun 05, 2020 at 03:19:03PM +0800, Neal Liu wrote: > On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > > This kind of thing is something that ARM have seems to shy away from > > doing - it's a point I brought up many years ago when the whole > > trustzone thing

Re: Security Random Number Generator support

2020-06-05 Thread Neal Liu
On Wed, 2020-06-03 at 17:34 +0800, Russell King - ARM Linux admin wrote: > On Wed, Jun 03, 2020 at 08:40:58AM +0100, Marc Zyngier wrote: > > On 2020-06-03 08:29, Neal Liu wrote: > > > On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: > > > > On 2020-06-02 13:14, Ard Biesheuvel wrote: > > > >

Re: Security Random Number Generator support

2020-06-03 Thread Marc Zyngier
On 2020-06-03 08:54, Neal Liu wrote: On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: On 2020-06-03 08:29, Neal Liu wrote: [...] > Could you give us a hint how to make this SMC interface more generic in > addition to my approach? > There is no (easy) way to get platform-independent

Re: Security Random Number Generator support

2020-06-03 Thread Sudeep Holla
+ Jose On Wed, Jun 03, 2020 at 03:54:17PM +0800, Neal Liu wrote: > On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: [...] > > The idea is simply to have *one* single ID that caters for all > > implementations, just like we did for PSCI at the time. This > > requires ARM to edict a

Re: Security Random Number Generator support

2020-06-03 Thread Russell King - ARM Linux admin
On Wed, Jun 03, 2020 at 08:40:58AM +0100, Marc Zyngier wrote: > On 2020-06-03 08:29, Neal Liu wrote: > > On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: > > > On 2020-06-02 13:14, Ard Biesheuvel wrote: > > > > On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: > > > >> > > > >> These patch

Re: Security Random Number Generator support

2020-06-03 Thread Neal Liu
On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: > On 2020-06-03 08:29, Neal Liu wrote: > > On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: > >> On 2020-06-02 13:14, Ard Biesheuvel wrote: > >> > On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: > >> >> > >> >> These patch series introduce

Re: Security Random Number Generator support

2020-06-03 Thread Marc Zyngier
On 2020-06-03 08:29, Neal Liu wrote: On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: On 2020-06-02 13:14, Ard Biesheuvel wrote: > On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: >> >> These patch series introduce a security random number generator >> which provides a generic interface to

Re: Security Random Number Generator support

2020-06-03 Thread Neal Liu
On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: > On 2020-06-02 13:14, Ard Biesheuvel wrote: > > On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: > >> > >> These patch series introduce a security random number generator > >> which provides a generic interface to get hardware rnd from Secure >

Re: Security Random Number Generator support

2020-06-02 Thread Marc Zyngier
On 2020-06-02 13:14, Ard Biesheuvel wrote: On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: These patch series introduce a security random number generator which provides a generic interface to get hardware rnd from Secure state. The Secure state can be Arm Trusted Firmware(ATF), Trusted

Re: Security Random Number Generator support

2020-06-02 Thread Ard Biesheuvel
On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: > > These patch series introduce a security random number generator > which provides a generic interface to get hardware rnd from Secure > state. The Secure state can be Arm Trusted Firmware(ATF), Trusted > Execution Environment(TEE), or even EL2

Security Random Number Generator support

2020-06-02 Thread Neal Liu
These patch series introduce a security random number generator which provides a generic interface to get hardware rnd from Secure state. The Secure state can be Arm Trusted Firmware(ATF), Trusted Execution Environment(TEE), or even EL2 hypervisor. Patch #1..2 adds sec-rng kernel driver for

Re: [PATCH v4 0/3] MediaTek Security random number generator support

2019-07-22 Thread Neal Liu
Dear Matthias, Rob, Mark, Just gentle ping. Thanks On Mon, 2019-06-24 at 15:24 +0800, Neal Liu wrote: > These patch series introduce a generic rng driver for Trustzone > based kernel driver which would like to communicate with ATF > SIP services. > > Patch #1 initials SMC fid