Searched refs:hashname (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/security/keys/ |
H A D | dh.c | 87 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 D | compat_dh.c | 29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | dh.c | 67 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 D | compat_dh.c | 29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | keyctl.h | 62 char __user *hashname; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | keyctl.h | 87 char __user *hashname; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | keyctl.h | 87 char __user *hashname; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | keyctl.h | 83 char __user * hashname; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | keyctl.h | 83 char __user * hashname; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | compat.h | 378 compat_uptr_t hashname; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | compat.h | 408 compat_uptr_t hashname; member
|
Completed in 6 milliseconds