Linux cryptographic layer development
 help / color / mirror / Atom feed
* key retention service: DH support
@ 2016-05-23 18:57 Stephan Mueller
  2016-05-24  7:04 ` David Howells
  0 siblings, 1 reply; 10+ messages in thread
From: Stephan Mueller @ 2016-05-23 18:57 UTC (permalink / raw)
  To: dhowells; +Cc: keyrings, linux-crypto

Hi David,

With the new DH support for the key retention service, support for DH derived 
keys pops up.

The implementation in security/keys/dh.c returns the DH shared secret straight 
to the user space caller.

I implemented a KDF with that exact scenario already in mind: [1].

I am wondering whether the shared secret should be processed by a KDF before 
returning the data to user space?

[1] http://www.chronox.de/kdf.html

Ciao
Stephan

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

end of thread, other threads:[~2016-05-26 17:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-23 18:57 key retention service: DH support Stephan Mueller
2016-05-24  7:04 ` David Howells
2016-05-24  7:14   ` Stephan Mueller
2016-05-24  7:19     ` David Howells
2016-05-24  7:29       ` Stephan Mueller
2016-05-24 16:22         ` Mat Martineau
2016-05-24 16:45           ` Stephan Mueller
2016-05-25 10:25             ` Herbert Xu
2016-05-25 10:58           ` David Howells
2016-05-26 17:04             ` Mat Martineau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox