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@xxxxxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx > Signed-off-by: Hannes Reinecke <hare@xxxxxxxxxx> > --- > 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