Home
last modified time | relevance | path

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

/external/python/cryptography/src/cryptography/hazmat/primitives/kdf/
Dconcatkdf.py23 def _common_args_checks(algorithm, length, otherinfo): argument
30 if otherinfo is not None:
31 utils._check_bytes("otherinfo", otherinfo)
34 def _concatkdf_derive(key_material, length, auxfn, otherinfo): argument
44 h.update(otherinfo)
54 def __init__(self, algorithm, length, otherinfo, backend): argument
56 _common_args_checks(algorithm, length, otherinfo)
59 self._otherinfo = otherinfo
88 def __init__(self, algorithm, length, salt, otherinfo, backend): argument
90 _common_args_checks(algorithm, length, otherinfo)
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_concatkdf.py107 otherinfo=u"foo",
115 otherinfo=None,
125 otherinfo=None,
135 otherinfo=None,
258 otherinfo=None,
266 otherinfo=u"foo",
274 otherinfo=None,
284 otherinfo=None,
294 otherinfo=None,
/external/strace/
Dkeyctl_kdf_params.h15 char *otherinfo; member
22 kernel_ulong_t otherinfo; member
Dfetch_struct_keyctl_kdf_params.c24 p->otherinfo = (kernel_ulong_t) in MPERS_PRINTER_DECL()
28 kdf.otherinfo; in MPERS_PRINTER_DECL()
Dkeyctl.c272 PRINT_FIELD_STRN(", ", kdf, otherinfo, in keyctl_dh_compute()
275 PRINT_FIELD_PTR(", ", kdf, otherinfo); in keyctl_dh_compute()
/external/strace/tests/
Dkeyctl.c62 char *otherinfo; member
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()
1079 kckdfp->otherinfo = in main()
1087 kckdfp->otherinfo = kckdfp_otherinfo1; in main()
1093 kckdfp->otherinfo = kckdfp_otherinfo1; in main()
1098 kckdfp->otherinfo = kckdfp_otherinfo2; in main()
/external/strace/tests-m32/
Dkeyctl.c62 char *otherinfo; member
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()
1079 kckdfp->otherinfo = in main()
1087 kckdfp->otherinfo = kckdfp_otherinfo1; in main()
1093 kckdfp->otherinfo = kckdfp_otherinfo1; in main()
1098 kckdfp->otherinfo = kckdfp_otherinfo2; in main()
/external/strace/tests-mx32/
Dkeyctl.c62 char *otherinfo; member
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()
1079 kckdfp->otherinfo = in main()
1087 kckdfp->otherinfo = kckdfp_otherinfo1; in main()
1093 kckdfp->otherinfo = kckdfp_otherinfo1; in main()
1098 kckdfp->otherinfo = kckdfp_otherinfo2; in main()
/external/python/cryptography/docs/hazmat/primitives/
Dkey-derivation-functions.rst324 .. class:: ConcatKDFHash(algorithm, length, otherinfo, backend)
343 >>> otherinfo = b"concatkdf-example"
347 ... otherinfo=otherinfo,
354 ... otherinfo=otherinfo,
365 :param bytes otherinfo: Application specific context information.
375 :raises TypeError: This exception is raised if ``otherinfo`` is not
409 .. class:: ConcatKDFHMAC(algorithm, length, salt, otherinfo, backend)
427 >>> otherinfo = b"concatkdf-example"
432 ... otherinfo=otherinfo,
440 ... otherinfo=otherinfo,
[all …]
/external/kernel-headers/original/uapi/linux/
Dkeyctl.h88 char __user *otherinfo; member