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

Eric Biggers ebiggers at kernel.org
Thu Jul 18 16:14:24 PDT 2024


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.

- Eric



More information about the Linux-nvme mailing list