Home
last modified time | relevance | path

Searched refs:kdf (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/security/keys/
Dcompat_dh.c18 struct compat_keyctl_kdf_params __user *kdf) in compat_keyctl_dh_compute() argument
23 if (!kdf) in compat_keyctl_dh_compute()
26 if (copy_from_user(&compat_kdfcopy, kdf, sizeof(compat_kdfcopy)) != 0) in compat_keyctl_dh_compute()
Ddh.c302 struct keyctl_kdf_params __user *kdf) in keyctl_dh_compute() argument
306 if (!kdf) in keyctl_dh_compute()
309 if (copy_from_user(&kdfcopy, kdf, sizeof(kdfcopy)) != 0) in keyctl_dh_compute()
Dinternal.h286 struct compat_keyctl_kdf_params __user *kdf);
293 struct keyctl_kdf_params __user *kdf) in keyctl_dh_compute() argument
302 struct keyctl_kdf_params __user *kdf) in compat_keyctl_dh_compute() argument
/linux-6.12.1/drivers/net/wireguard/
Dnoise.c344 static void kdf(u8 *first_dst, u8 *second_dst, u8 *third_dst, const u8 *data, in kdf() function
397 kdf(first_dst->key, second_dst->key, NULL, NULL, in derive_keys()
413 kdf(chaining_key, key, NULL, dh_calculation, NOISE_HASH_LEN, in mix_dh()
426 kdf(chaining_key, key, NULL, precomputed, NOISE_HASH_LEN, in mix_precomputed_dh()
448 kdf(chaining_key, temp_hash, key, psk, NOISE_HASH_LEN, NOISE_HASH_LEN, in mix_psk()
493 kdf(chaining_key, NULL, NULL, ephemeral_src, NOISE_HASH_LEN, 0, 0, in message_ephemeral()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvfw/
Dacr.h77 u8 kdf[16]; member
/linux-6.12.1/Documentation/security/keys/
Dcore.rst839 char *buffer, size_t buflen, struct keyctl_kdf_params *kdf);
856 If the parameter kdf is NULL, the following applies:
865 The kdf parameter allows the caller to apply a key derivation function
883 function will return EMSGSIZE when the parameter kdf is non-NULL