[PATCH 1/8] crypto,fs: Separate out hkdf_extract() and hkdf_expand()

Hannes Reinecke hare at suse.de
Thu Jul 18 23:13:04 PDT 2024


On 7/19/24 01:14, Eric Biggers wrote:
> On Thu, Jul 18, 2024 at 05:06:51PM +0200, Hannes Reinecke wrote:
>> Separate out the HKDF functions into a separate file to make them
>> available to other callers.
>>
>> Cc: Eric Biggers <ebiggers at kernel.org>
>> Cc: linux-crypto at vger.kernel.org
>> Signed-off-by: Hannes Reinecke <hare at kernel.org>
>> ---
>>   crypto/Makefile       |   1 +
>>   crypto/hkdf.c         | 112 ++++++++++++++++++++++++++++++++++++++++++
>>   fs/crypto/hkdf.c      |  68 ++++---------------------
>>   include/crypto/hkdf.h |  18 +++++++
>>   4 files changed, 140 insertions(+), 59 deletions(-)
>>   create mode 100644 crypto/hkdf.c
>>   create mode 100644 include/crypto/hkdf.h
> 
> I was only sent patch 1, so this is unreviewable as there is no context.
> 
Sorry. Will include you with the full patchset for the next round.
The remainder of the patch series is just calling into the just exported
functions to derive TLS PSK keys, wasn't sure if you'd be interested in
that.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare at suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich




More information about the Linux-nvme mailing list