On Tue, May 22, 2018 at 11:00:40AM +0800, Yu Chen wrote: > Hi all, > The request is that, we'd like to generate a symmetric key derived from > user provided passphase(not rely on any third-party library). May I know if > there is a PBKDF2(Password-Based Key Derivation Function 2) support in the > kernel? (https://tools.ietf.org/html/rfc2898#5.2) > We have hmac sha1 in the kernel, do we have plan to port/implement > corresponding PBKDF2 in the kernel too? The rule for adding crypto code to the kernel is simple, there must be an in-kernel user of the algorithm. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt