Home
last modified time | relevance | path

Searched refs:hashname (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/security/keys/
H A Ddh.c87 static int kdf_alloc(struct kdf_sdesc **sdesc_ret, char *hashname) in kdf_alloc() argument
95 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc()
97 pr_info("could not allocate digest TFM handle %s\n", hashname); in kdf_alloc()
255 char *hashname; in __keyctl_dh_compute() local
269 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
270 if (IS_ERR(hashname)) { in __keyctl_dh_compute()
271 ret = PTR_ERR(hashname); in __keyctl_dh_compute()
276 ret = kdf_alloc(&sdesc, hashname); in __keyctl_dh_compute()
277 kfree(hashname); in __keyctl_dh_compute()
[all...]
H A Dcompat_dh.c29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
/kernel/linux/linux-6.6/security/keys/
H 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()
[all...]
H A Dcompat_dh.c29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dkeyctl.h62 char __user *hashname; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dkeyctl.h87 char __user *hashname; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dkeyctl.h87 char __user *hashname; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dkeyctl.h83 char __user * hashname; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dkeyctl.h83 char __user * hashname; member
/kernel/linux/linux-5.10/include/linux/
H A Dcompat.h378 compat_uptr_t hashname; member
/kernel/linux/linux-6.6/include/linux/
H A Dcompat.h408 compat_uptr_t hashname; member

Completed in 6 milliseconds