This patch set provides the KDF to the Linux kernel crypto API. It adds a random number template handling.
The following source code contains the implementation of the KDF.
Linux Kernel 4.5 KDF patch set
2016-01-27 smueller at chronox.de