From: David Howells <dhowells@redhat.com>
To: Stephan Mueller <smueller@chronox.de>
Cc: dhowells@redhat.com, keyrings@vger.kernel.org,
linux-crypto@vger.kernel.org, mathew.j.martineau@linux.intel.com
Subject: Re: key retention service: DH support
Date: Tue, 24 May 2016 08:04:28 +0100 [thread overview]
Message-ID: <27639.1464073468@warthog.procyon.org.uk> (raw)
In-Reply-To: <1522711.HEekpKlqDU@positron.chronox.de>
Stephan Mueller <smueller@chronox.de> wrote:
> 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
Adding Mat to the cc list. If we want to modify the new DH keyctl, we have a
very short time window in which to do so.
David
next prev parent reply other threads:[~2016-05-24 7:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 18:57 key retention service: DH support Stephan Mueller
2016-05-24 7:04 ` David Howells [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27639.1464073468@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=keyrings@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=mathew.j.martineau@linux.intel.com \
--cc=smueller@chronox.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox