Lines Matching refs:hashname
67 static int kdf_alloc(struct crypto_shash **hash, char *hashname)
72 tfm = crypto_alloc_shash(hashname, 0, 0);
74 pr_info("could not allocate digest TFM handle %s\n", hashname);
150 char *hashname;
164 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME);
165 if (IS_ERR(hashname)) {
166 ret = PTR_ERR(hashname);
171 ret = kdf_alloc(&hash, hashname);
172 kfree(hashname);