Skip to content

1.1.1

Choose a tag to compare

@hannesm hannesm released this 31 Aug 10:45
· 3 commits to main since this release

CHANGES:

  • hkdf: enforce the RFC 5869 length bound in expand (len <= 255 * hash output
    size) - larger requests were accepted, with the one-octet block counter
    wrapping to 0 for block 256, and reject negative len (raising Failure for
    both) (@thevilledev #4)
  • hkdf: avoid computing a superfluous block in expand when len is a multiple
    of the hash output size (@thevilledev #4)