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)
v1.1.0 (2026-06-30)
scrypt: fix for r > 8 (reported by @samoht #1, fix by @hannesm in #3 (inspired by @samoht #2))
scrypt: add tests for r > 8 and bad input (@hannesm #3)
scrypt, pbkdf: raise Failure instead of Invalid_argument (@hannesm #3)
v1.0.0 (2024-08-28)
Migrate scrypt from Cstruct.t to string
Merge ocaml-pbkdf (from https://github.com/abeaumont/ocaml-pbkdf), hkdf (from https://github.com/hannesm/ocaml-hkdf), and scrypt (from https://github.com/abeaumont/ocaml-scrypt-kdf) into a single repository and opam package (with three subpackages, kdf.pbkdf. kdf.hkdf, and kdf.scrypt).
Disable a failing testcase for architectures with integers no longer than 31 bits (thanks to @kit-ty-kate)
pbkdf 2.0.0 (2024-06-29)
Update to mirage-crypto 1.0.0 (#13 @dinosaure)
hkdf v2.0.0 (2024-06-29)
use digestif instead of mirage-crypto (@dinosaure @hannesm)
scrypt-kdf 1.2.0 (2021-08-03)
Upgrade to Cstruct 6.0.0
pbkdf 1.2.0 (2020-08-03)
Upgrade to Cstruct 6.0.0
pbkdf 1.1.0 (2020-03-31)
Port to mirage-crypto (thanks to @hannesm)
scrypt-kdf 1.1.0 (2020-03-31)
Port to mirage-crypto (thanks to @hannesm)
hkdf v1.0.4 (2020-03-11)
use mirage-crypto instead of nocrypto
scrypt-kdf 1.0.0 (2019-04-12)
Move to dune
Upgrade to opam 2.0
pbkdf 1.0.0 (2019-04-12)
Move to dune
Upgrade to opam 2.0
Reimplement cdiv, no longer available in nocrypto.
hkdf 1.0.3 (2019-02-15)
move to dune
pbkdf 0.3.0 (2018-02-16)
Build: switch to jbuilder
scrypt-kdf 0.4.0 (2017-03-09)
Removed Makefile, unneeded with topkg
Made pkg.ml executable
Added salsa20-core as a dependency and remove related code
scrypt-kdf 0.3.0 (2017-02-21)
Replaced underscores by dashes in library names
Exported Salsa20_core module
pbkdf 0.2.0 (2016-10-31)
Added topkg dependency
scrypt-kdf 0.2.0 (2016-10-31)
Added topkg dependency
Optimized inner loop in salsa_core to improve performance
Replaced custom clone function by Nocrypto's implementation