lib:crypto: Add implementation of GKDI key derivation