Home
last modified time | relevance | path

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

/linux/security/keys/
A Dcompat_dh.c20 struct keyctl_kdf_params kdfcopy; in compat_keyctl_dh_compute() local
29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
30 kdfcopy.otherinfo = compat_ptr(compat_kdfcopy.otherinfo); in compat_keyctl_dh_compute()
31 kdfcopy.otherinfolen = compat_kdfcopy.otherinfolen; in compat_keyctl_dh_compute()
32 memcpy(kdfcopy.__spare, compat_kdfcopy.__spare, in compat_keyctl_dh_compute()
33 sizeof(kdfcopy.__spare)); in compat_keyctl_dh_compute()
35 return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); in compat_keyctl_dh_compute()
A Ddh.c229 struct keyctl_kdf_params *kdfcopy) in __keyctl_dh_compute() argument
254 if (kdfcopy) { in __keyctl_dh_compute()
257 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
263 kdfcopy->otherinfolen > KEYCTL_KDF_MAX_OI_LEN) { in __keyctl_dh_compute()
327 if (!kdfcopy) { in __keyctl_dh_compute()
341 outbuf = kzalloc(kdfcopy ? (outlen + kdfcopy->otherinfolen) : outlen, in __keyctl_dh_compute()
375 if (kdfcopy) { in __keyctl_dh_compute()
381 kdfcopy->otherinfolen) != 0) { in __keyctl_dh_compute()
387 req->dst_len + kdfcopy->otherinfolen, in __keyctl_dh_compute()
414 struct keyctl_kdf_params kdfcopy; in keyctl_dh_compute() local
[all …]

Completed in 4 milliseconds