Home
last modified time | relevance | path

Searched refs:hashname (Results 1 – 2 of 2) sorted by relevance

/security/keys/
A Ddh.c67 static int kdf_alloc(struct crypto_shash **hash, char *hashname) in kdf_alloc() argument
72 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc()
74 pr_info("could not allocate digest TFM handle %s\n", hashname); in kdf_alloc()
150 char *hashname; in __keyctl_dh_compute() local
164 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
165 if (IS_ERR(hashname)) { in __keyctl_dh_compute()
166 ret = PTR_ERR(hashname); in __keyctl_dh_compute()
171 ret = kdf_alloc(&hash, hashname); in __keyctl_dh_compute()
172 kfree(hashname); in __keyctl_dh_compute()
A Dcompat_dh.c29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()

Completed in 4 milliseconds