Add KDF1 and KDF2 derivation functions.