On Friday, May 29, 2015 at 02:37:00 AM, Herbert Xu wrote:
> On Thu, May 28, 2015 at 11:01:56AM -0500, Jay Monkman wrote:
> > Marek,
> > 
> > I have a question about the proper way to implement a feature. The
> > DCP has the ability to read a key for encryption/decryption from on
> > chip fuses. The current driver doesn't support this and as far as I
> > can tell, there's no clean way to do that within the Linux crypto
> > API.
> > 
> > Do you have any suggestions on how to handle that?
> > 
> > My best idea so far is to modify the driver so that if setkey is
> > passed a key with a length of 1 byte, the driver uses the on chip
> > key. I'm not sure if that would make it into the official kernel.
> 
> What is this key and who is supposed to have access to it?

It's an AES128 key stored in the CPU's OTP registers, so noone ought
to be able to read it out.

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to