Lines Matching refs:buflen
200 char __user *buffer, size_t buflen, in keyctl_dh_compute_kdf() argument
205 size_t outbuf_len = roundup(buflen, in keyctl_dh_compute_kdf()
218 ret = buflen; in keyctl_dh_compute_kdf()
219 if (copy_to_user(buffer, outbuf, buflen) != 0) in keyctl_dh_compute_kdf()
228 char __user *buffer, size_t buflen, in __keyctl_dh_compute() argument
245 if (!params || (!buffer && buflen)) { in __keyctl_dh_compute()
262 if (buflen > KEYCTL_KDF_MAX_OUTPUT_LEN || in __keyctl_dh_compute()
332 if (buflen == 0) { in __keyctl_dh_compute()
335 } else if (outlen > buflen) { in __keyctl_dh_compute()
386 ret = keyctl_dh_compute_kdf(sdesc, buffer, buflen, outbuf, in __keyctl_dh_compute()
411 char __user *buffer, size_t buflen, in keyctl_dh_compute() argument
417 return __keyctl_dh_compute(params, buffer, buflen, NULL); in keyctl_dh_compute()
422 return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); in keyctl_dh_compute()