Commit Graph
3 Commits
Author SHA1 Message Date
Frank Denis 0cabff7a0a Move HKDF test to its own file 2020-03-31 17:42:42 +02:00
Frank Denis d9844396e3 Fix and add HKDF tests 2020-03-31 17:14:04 +02:00
Frank Denis 70c2796ae5 + crypto_kdf high-level API
This is a common need, and people end up reimplementing HKDF.

So, add a crypto_kdf() API similiar to libhydrogen's. The later has a
higher limit for the output length using BLAKE2X if required.

We can implement the same strategy later in libsodium if needed.
2017-02-19 18:13:10 +01:00