[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4b0b368-3168-bb65-a7b8-4f6d4e7015c7@linux.intel.com>
Date: Fri, 19 Nov 2021 10:36:04 -0800 (PST)
From: Mat Martineau <mathew.j.martineau@...ux.intel.com>
To: Stephan Müller <smueller@...onox.de>
cc: herbert@...dor.apana.org.au, ebiggers@...nel.org,
jarkko@...nel.org, dhowells@...hat.com,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
keyrings@...r.kernel.org, simo@...hat.com
Subject: Re: [PATCH v4 4/4] security: DH - use KDF implementation from crypto
API
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@...onox.de>
> ---
> security/keys/Kconfig | 2 +-
> security/keys/dh.c | 109 +++++++-----------------------------------
> 2 files changed, 19 insertions(+), 92 deletions(-)
Acked-by: Mat Martineau <mathew.j.martineau@...ux.intel.com>
--
Mat Martineau
Intel
Powered by blists - more mailing lists