Skip to content
Commit 3241cd0c authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Keith Busch
Browse files

crypto,fs: Separate out hkdf_extract() and hkdf_expand()



Separate out the HKDF functions into a separate module to
to make them available to other callers.
And add a testsuite to the module with test vectors
from RFC 5869 (and additional vectors for SHA384 and SHA512)
to ensure the integrity of the algorithm.

Signed-off-by: default avatarHannes Reinecke <hare@kernel.org>
Acked-by: default avatarEric Biggers <ebiggers@kernel.org>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent fc22b34e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment