Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: "Stephan Müller" <smueller@chronox.de>
Cc: herbert@gondor.apana.org.au, ebiggers@kernel.org,
	jarkko@kernel.org, dhowells@redhat.com,
	linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
	keyrings@vger.kernel.org, simo@redhat.com
Subject: Re: [PATCH v4 4/4] security: DH - use KDF implementation from crypto API
Date: Fri, 19 Nov 2021 10:36:04 -0800 (PST)	[thread overview]
Message-ID: <c4b0b368-3168-bb65-a7b8-4f6d4e7015c7@linux.intel.com> (raw)
In-Reply-To: <4181314.UPlyArG6xL@positron.chronox.de>

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On Fri, 19 Nov 2021, Stephan Müller wrote:

> The kernel crypto API provides the SP800-108 counter KDF implementation.
> Thus, the separate implementation provided as part of the keys subsystem
> can be replaced with calls to the KDF offered by the kernel crypto API.
>
> The keys subsystem uses the counter KDF with a hash primitive. Thus,
> it only uses the call to crypto_kdf108_ctr_generate.
>
> Signed-off-by: Stephan Mueller <smueller@chronox.de>
> ---
> security/keys/Kconfig |   2 +-
> security/keys/dh.c    | 109 +++++++-----------------------------------
> 2 files changed, 19 insertions(+), 92 deletions(-)

Acked-by: Mat Martineau <mathew.j.martineau@linux.intel.com>


--
Mat Martineau
Intel

  reply	other threads:[~2021-11-19 18:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19  6:55 [PATCH v4 0/4] Add SP800-108 KDF implementation to crypto API Stephan Müller
2021-11-19  6:55 ` [PATCH v4 1/4] crypto: Add key derivation self-test support code Stephan Müller
2021-11-19  6:55 ` [PATCH v4 2/4] crypto: add SP800-108 counter key derivation function Stephan Müller
2021-11-19  6:58 ` [PATCH v4 3/4] security: DH - remove dead code for zero padding Stephan Müller
2021-11-19  6:59 ` [PATCH v4 4/4] security: DH - use KDF implementation from crypto API Stephan Müller
2021-11-19 18:36   ` Mat Martineau [this message]
2021-11-26  5:32 ` [PATCH v4 0/4] Add SP800-108 KDF implementation to " Herbert Xu

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=c4b0b368-3168-bb65-a7b8-4f6d4e7015c7@linux.intel.com \
    --to=mathew.j.martineau@linux.intel.com \
    --cc=dhowells@redhat.com \
    --cc=ebiggers@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=jarkko@kernel.org \
    --cc=keyrings@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simo@redhat.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