Lines Matching refs:kdf
231 kckdfp_to_str(struct keyctl_kdf_params *kdf, bool deref_hash, bool deref_oi, in kckdfp_to_str() argument
243 } else if (!kdf->hashname) { in kckdfp_to_str()
246 append_str(&pos, &left, "\"%.*s\"", limit, kdf->hashname); in kckdfp_to_str()
248 if (strnlen(kdf->hashname, limit + 1) > limit) in kckdfp_to_str()
251 append_str(&pos, &left, "%p", kdf->hashname); in kckdfp_to_str()
258 } else if (!kdf->otherinfo) { in kckdfp_to_str()
261 append_str(&pos, &left, "\"%.*s\"", limit, kdf->otherinfo); in kckdfp_to_str()
263 if (strnlen(kdf->otherinfo, limit + 1) > limit) in kckdfp_to_str()
266 append_str(&pos, &left, "%p", kdf->otherinfo); in kckdfp_to_str()
269 append_str(&pos, &left, ", otherinfolen=%u", kdf->otherinfolen); in kckdfp_to_str()
276 for (i = 0; i < ARRAY_SIZE(kdf->__spare); i++) { in kckdfp_to_str()
280 append_str(&pos, &left, "%#x", kdf->__spare[i]); in kckdfp_to_str()