Dearest Friend

2019-01-21 Thread Mercy Kings
Dearest One First i thanks your attention to me, I am mercy kings My parents Mr.and Mrs.kings were assassinated here in IVORY COAST. Before my Before my father's death he had (USD $5.9M) Five Million Nine Hundred Thousand United State Dollars deposited in a bank here in Abidjan. I want you to do m

Re: [PATCH v4 1/4] tee: add bus driver framework for TEE based devices

2019-01-21 Thread Bhupesh Sharma
Hi Sumit, On Mon, Jan 21, 2019 at 3:00 PM Sumit Garg wrote: > > Introduce a generic TEE bus driver concept for TEE based kernel drivers > which would like to communicate with TEE based devices/services. > > In this TEE bus concept, devices/services are identified via Universally > Unique Identifi

[PATCH] crypto: caam - add support for cmac(aes)

2019-01-21 Thread Horia Geantă
From: Iuliana Prodan Add cmac(aes) keyed hash offloading support. Similar to xcbc implementation, driver must make sure there are still some bytes buffered when ahash_final() is called. This way HW is able to decide whether padding is needed and which key to derive (L -> K1 / K2) for the last bl

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Sumit Garg
On Mon, 21 Jan 2019 at 18:32, Ard Biesheuvel wrote: > > On Mon, 21 Jan 2019 at 13:59, Sumit Garg wrote: > > > > On Mon, 21 Jan 2019 at 15:33, Ard Biesheuvel > > wrote: > > > > > > On Mon, 21 Jan 2019 at 10:30, Sumit Garg wrote: > > > > > > > > On ARM SoC's with TrustZone enabled, peripherals l

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Ard Biesheuvel
On Mon, 21 Jan 2019 at 13:59, Sumit Garg wrote: > > On Mon, 21 Jan 2019 at 15:33, Ard Biesheuvel > wrote: > > > > On Mon, 21 Jan 2019 at 10:30, Sumit Garg wrote: > > > > > > On ARM SoC's with TrustZone enabled, peripherals like entropy sources > > > might not be accessible to normal world (linu

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Sumit Garg
On Mon, 21 Jan 2019 at 16:16, Greg KH wrote: > > On Mon, Jan 21, 2019 at 11:43:14AM +0100, Ard Biesheuvel wrote: > > On Mon, 21 Jan 2019 at 11:30, Greg KH wrote: > > > > > > On Mon, Jan 21, 2019 at 02:59:19PM +0530, Sumit Garg wrote: > > > > --- /dev/null > > > > +++ b/drivers/char/hw_random/opte

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Sumit Garg
On Mon, 21 Jan 2019 at 15:33, Ard Biesheuvel wrote: > > On Mon, 21 Jan 2019 at 10:30, Sumit Garg wrote: > > > > On ARM SoC's with TrustZone enabled, peripherals like entropy sources > > might not be accessible to normal world (linux in this case) and rather > > accessible to secure world (OP-TEE

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Greg KH
On Mon, Jan 21, 2019 at 11:43:14AM +0100, Ard Biesheuvel wrote: > On Mon, 21 Jan 2019 at 11:30, Greg KH wrote: > > > > On Mon, Jan 21, 2019 at 02:59:19PM +0530, Sumit Garg wrote: > > > --- /dev/null > > > +++ b/drivers/char/hw_random/optee-rng.c > > > @@ -0,0 +1,272 @@ > > > +// SPDX-License-Ident

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Ard Biesheuvel
On Mon, 21 Jan 2019 at 11:30, Greg KH wrote: > > On Mon, Jan 21, 2019 at 02:59:19PM +0530, Sumit Garg wrote: > > --- /dev/null > > +++ b/drivers/char/hw_random/optee-rng.c > > @@ -0,0 +1,272 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > Nice, but: > > > > > +MODULE_LICENSE("GPL"); > > This stri

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Greg KH
On Mon, Jan 21, 2019 at 02:59:19PM +0530, Sumit Garg wrote: > --- /dev/null > +++ b/drivers/char/hw_random/optee-rng.c > @@ -0,0 +1,272 @@ > +// SPDX-License-Identifier: GPL-2.0 Nice, but: > +MODULE_LICENSE("GPL"); This string means "GPL2+", you need "GPLv2" here instead. Yeah, it's a pain, a

Re: [PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Ard Biesheuvel
On Mon, 21 Jan 2019 at 10:30, Sumit Garg wrote: > > On ARM SoC's with TrustZone enabled, peripherals like entropy sources > might not be accessible to normal world (linux in this case) and rather > accessible to secure world (OP-TEE in this case) only. So this driver > aims to provides a generic i

[PATCH v4 3/4] tee: optee: add TEE bus device enumeration support

2019-01-21 Thread Sumit Garg
OP-TEE provides a pseudo TA to enumerate TAs which can act as devices/ services for TEE bus. So implement device enumeration using invoke function: PTA_CMD_GET_DEVICES provided by pseudo TA to fetch array of device UUIDs. Also register these enumerated devices with TEE bus as "optee-clntX" device.

[PATCH v4 4/4] hwrng: add OP-TEE based rng driver

2019-01-21 Thread Sumit Garg
On ARM SoC's with TrustZone enabled, peripherals like entropy sources might not be accessible to normal world (linux in this case) and rather accessible to secure world (OP-TEE in this case) only. So this driver aims to provides a generic interface to OP-TEE based random number generator service.

[PATCH v4 1/4] tee: add bus driver framework for TEE based devices

2019-01-21 Thread Sumit Garg
Introduce a generic TEE bus driver concept for TEE based kernel drivers which would like to communicate with TEE based devices/services. In this TEE bus concept, devices/services are identified via Universally Unique Identifier (UUID) and drivers register a table of device UUIDs which they can sup

[PATCH v4 2/4] tee: add supp_nowait flag in tee_context struct

2019-01-21 Thread Sumit Garg
This flag indicates that requests in this context should not wait for tee-supplicant daemon to be started if not present and just return with an error code. It is needed for requests which should be non-blocking in nature like ones arising from TEE based kernel drivers or any in kernel api that use

[PATCH v4 0/4] Introduce TEE bus driver framework

2019-01-21 Thread Sumit Garg
This series introduces a generic TEE bus driver concept for TEE based kernel drivers which would like to communicate with TEE based devices/ services. Patch #1 adds TEE bus concept where devices/services are identified via Universally Unique Identifier (UUID) and drivers register a table of device