[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1532439290.3277.52.camel@linux.ibm.com>
Date: Tue, 24 Jul 2018 09:34:50 -0400
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Udit Agarwal <udit.agarwal@....com>,
"dhowells@...hat.com" <dhowells@...hat.com>,
"zohar@...ux.vnet.ibm.com" <zohar@...ux.vnet.ibm.com>,
"jmorris@...ei.org" <jmorris@...ei.org>,
"serge@...lyn.com" <serge@...lyn.com>,
"linux-integrity@...r.kernel.org" <linux-integrity@...r.kernel.org>,
"keyrings@...r.kernel.org" <keyrings@...r.kernel.org>,
"linux-security-module@...r.kernel.org"
<linux-security-module@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: Sahil Malhotra <sahil.malhotra@....com>,
Ruchika Gupta <ruchika.gupta@....com>,
Horia Geanta <horia.geanta@....com>,
Aymen Sghaier <aymen.sghaier@....com>
Subject: Re: [PATCH 1/2] security/keys/secure_key: Adds the secure key
support based on CAAM.
On Tue, 2018-07-24 at 12:31 +0000, Udit Agarwal wrote:
> Yes the secure keys and CAAM are correlated. Secure keys depends on
> NXP CAAM crypto HW accelerator. Secure key is a random data of
> length X (passed using keyctl command) & derived using CAAM. Blob of
> this data is also created using CAAM. Only blob is visible to user
> space.
The term "secure keys" is really generic. What makes the "secure
keys" secure? We introduced "trusted keys", because TPM 1.2 didn't
support symmetric keys. We shouldn't just duplicate "trusted keys"
for different HW, but improve upon it (eg. symmetric keys never leave
the device).
The new key type should define generic methods, which are implemented
for NXP CAAM rypto HW accelerator as an example.
Mimi
Powered by blists - more mailing lists