Home
last modified time | relevance | path

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

/security/keys/
Ddh.c203 uint8_t *outbuf = NULL; in keyctl_dh_compute_kdf() local
208 outbuf = kmalloc(outbuf_len, GFP_KERNEL); in keyctl_dh_compute_kdf()
209 if (!outbuf) { in keyctl_dh_compute_kdf()
214 ret = kdf_ctr(sdesc, kbuf, kbuflen, outbuf, outbuf_len, lzero); in keyctl_dh_compute_kdf()
219 if (copy_to_user(buffer, outbuf, buflen) != 0) in keyctl_dh_compute_kdf()
223 kfree_sensitive(outbuf); in keyctl_dh_compute_kdf()
242 uint8_t *outbuf; in __keyctl_dh_compute() local
341 outbuf = kzalloc(kdfcopy ? (outlen + kdfcopy->otherinfolen) : outlen, in __keyctl_dh_compute()
343 if (!outbuf) { in __keyctl_dh_compute()
348 sg_init_one(&outsg, outbuf, outlen); in __keyctl_dh_compute()
[all …]