KDFs icon indicating copy to clipboard operation
KDFs copied to clipboard

Initial commit for KBKDF

Open baloo opened this issue 2 years ago • 1 comments

This implements KBKDF as defined in https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-108r1.pdf

This also implements non-standards behavior like use-l and use-separator. Those are used in TPMs for the KDFa method for example. See comments below for questions about that.

Missing:

  • [ ] double pipeline iteration mode (if you have an oracle in mind where to get for reference values, I'd love that)
  • [ ] tests with more than sha256 / sha512

baloo avatar Oct 29 '23 21:10 baloo

Nist has test vectors http://csrc.nist.gov/groups/STM/cavp/index.html

baloo avatar Oct 30 '23 02:10 baloo