linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ecdh: generation and retention of ecc privkey in kernel/hardware
@ 2017-04-27 14:17 Tudor Ambarus
  2017-04-27 16:55 ` Marcel Holtmann
  2017-05-23  3:58 ` Herbert Xu
  0 siblings, 2 replies; 5+ messages in thread
From: Tudor Ambarus @ 2017-04-27 14:17 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, Stephan Müller, Nicolas Ferre - M43238

Hi, Herbert,

I'm working with a crypto accelerator that is capable of generating and
retaining ecc private keys in hardware and further use them for ecdh.
The private keys can not be read from the device. This is good because
the less software has access to secrets, the better.

Generation and retention of ecc private keys are also helpful in a user
space to kernel ecdh offload. The privkey can be generated in kernel and 
never revealed to user space.

I propose to extend the ecc software support to allow the generation of
private keys. ECDH software implementation and drivers will permit the
users to provide NULL keys. In this case, the kernel (or the device, if
possible) will generate the ecc private key and further use it for ecdh.

What's your feeling on this?

Thanks,
ta

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-23  8:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 14:17 ecdh: generation and retention of ecc privkey in kernel/hardware Tudor Ambarus
2017-04-27 16:55 ` Marcel Holtmann
2017-05-01 15:48   ` Stephan Müller
2017-05-23  3:58 ` Herbert Xu
2017-05-23  8:06   ` Tudor Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).