Home
last modified time | relevance | path

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

/systemd-251/src/cryptsetup/
Dcryptsetup-tpm2.c78 const void *blob; in acquire_tpm2_key() local
92 blob = key_data; in acquire_tpm2_key()
111 blob = loaded_blob; in acquire_tpm2_key()
120 blob, in acquire_tpm2_key()
143 blob, in acquire_tpm2_key()
176 _cleanup_free_ void *blob = NULL, *policy_hash = NULL; in find_tpm2_auto_data() local
270 assert(!blob); in find_tpm2_auto_data()
276 r = unbase64mem(json_variant_string(w), SIZE_MAX, &blob, &blob_size); in find_tpm2_auto_data()
305 if (!blob) in find_tpm2_auto_data()
313 *ret_blob = TAKE_PTR(blob); in find_tpm2_auto_data()
Dcryptsetup.c1348 _cleanup_free_ void *blob = NULL, *policy_hash = NULL; in attach_luks_or_plain_or_bitlk_by_tpm2() local
1369 &blob, &blob_size, in attach_luks_or_plain_or_bitlk_by_tpm2()
1395 blob, blob_size, in attach_luks_or_plain_or_bitlk_by_tpm2()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-gvariant.c119 _cleanup_free_ void *blob = NULL; in TEST_RET() local
173 assert_se(bus_message_get_blob(m, &blob, &sz) >= 0); in TEST_RET()
180 … v = g_variant_new_from_data(G_VARIANT_TYPE("(yyyyuta{tv}v)"), blob, sz, false, NULL, NULL); in TEST_RET()
189 assert_se(bus_message_from_malloc(bus, blob, sz, NULL, 0, NULL, &n) >= 0); in TEST_RET()
190 blob = NULL; in TEST_RET()
/systemd-251/src/cryptenroll/
Dcryptenroll-tpm2.c140 _cleanup_free_ void *blob = NULL, *hash = NULL; in enroll_tpm2() local
160 …r = tpm2_seal(device, pcr_mask, pin_str, &secret, &secret_size, &blob, &blob_size, &hash, &hash_si… in enroll_tpm2()
177 …r = tpm2_unseal(device, pcr_mask, pcr_bank, primary_alg, blob, blob_size, hash, hash_size, pin_str… in enroll_tpm2()
203 …r = tpm2_make_luks2_json(keyslot, pcr_mask, pcr_bank, primary_alg, blob, blob_size, hash, hash_siz… in enroll_tpm2()
/systemd-251/docs/
DPORTING_TO_NEW_ARCHITECTURES.md14 [src/basic/architecture.h](https://github.com/systemd/systemd/blob/main/src/basic/architecture.h)
16 [src/basic/architecture.c](https://github.com/systemd/systemd/blob/main/src/basic/architecture.c)
22 [src/shared/gpt.h](https://github.com/systemd/systemd/blob/main/src/shared/gpt.h)
24 [src/shared/gpt.c](https://github.com/systemd/systemd/blob/main/src/shared/gpt.c)
DJOURNAL_NATIVE_PROTOCOL.md188 [GLib's](https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gmessages.c) or
189 [`dbus-broker`'s](https://github.com/bus1/dbus-broker/blob/main/src/util/log.c).
DJOURNAL_FILE_FORMAT.md26 codebase](https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-journal/) is the
109 [journal-def.h](https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-journal/journal-def.…
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dcryptsetup-token-systemd-tpm2.c66 _cleanup_free_ void *blob = NULL, *policy_hash = NULL; in cryptsetup_token_open() local
89 r = unbase64mem(base64_blob, SIZE_MAX, &blob, &blob_size); in cryptsetup_token_open()
103 blob, in cryptsetup_token_open()
/systemd-251/src/shared/
Dtpm2-util.c840 _cleanup_free_ void *blob = NULL, *hash = NULL; in tpm2_seal() local
986 blob = TAKE_PTR(buf); in tpm2_seal()
1014 *ret_blob = TAKE_PTR(blob); in tpm2_seal()
1035 const void *blob, in tpm2_unseal() argument
1056 assert(blob); in tpm2_unseal()
1080 rc = sym_Tss2_MU_TPM2B_PRIVATE_Unmarshal(blob, blob_size, &offset, &private); in tpm2_unseal()
1087 rc = sym_Tss2_MU_TPM2B_PUBLIC_Unmarshal(blob, blob_size, &offset, &public); in tpm2_unseal()
1369 const void *blob, in tpm2_make_luks2_json() argument
1382 assert(blob || blob_size == 0); in tpm2_make_luks2_json()
1410 … JSON_BUILD_PAIR("tpm2-blob", JSON_BUILD_BASE64(blob, blob_size)), in tpm2_make_luks2_json()
Dtpm2-util.h48 …, uint32_t pcr_mask, uint16_t pcr_bank, uint16_t primary_alg, const void *blob, size_t blob_size, …
57 …, uint32_t pcr_mask, uint16_t pcr_bank, uint16_t primary_alg, const void *blob, size_t blob_size, …
/systemd-251/src/basic/
Dfileio.c367 int verify_file(const char *fn, const char *blob, bool accept_extra_nl) { in verify_file() argument
374 assert(blob); in verify_file()
376 l = strlen(blob); in verify_file()
378 if (accept_extra_nl && endswith(blob, "\n")) in verify_file()
397 if (memcmp(buf, blob, l) != 0) in verify_file()
Dfileio.h85 int verify_file(const char *fn, const char *blob, bool accept_extra_nl);
/systemd-251/.lgtm/cpp-queries/
DPotentiallyDangerousFunction.ql5 …* https://github.com/Semmle/ql/blob/master/cpp/ql/src/Security/CWE/CWE-676/PotentiallyDangerousFun…
/systemd-251/rules.d/
D71-seat.rules.in47 # http://git.qemu.org/?p=qemu.git;a=blob;f=docs/multiseat.txt
/systemd-251/src/partition/
Drepart.c2638 _cleanup_free_ void *blob = NULL, *hash = NULL; in partition_encrypt() local
2643 …m2_seal(arg_tpm2_device, arg_tpm2_pcr_mask, NULL, &secret, &secret_size, &blob, &blob_size, &hash,… in partition_encrypt()
2665 …r = tpm2_make_luks2_json(keyslot, arg_tpm2_pcr_mask, pcr_bank, primary_alg, blob, blob_size, hash,… in partition_encrypt()
/systemd-251/
DTODO99 * allow embedding a signature blob for PCR hashes into separate section in
104 the kernel includes the PCR signature blob we should be good, as disk
568 https://github.com/dvdhrm/docs/blob/master/drm-howto/modeset.c for an example
872 CODE_BASE=github.com/systemd/systemd/blob/98b0b1123cc or so which is
DNEWS6059 https://github.com/systemd/systemd/blob/master/docs/CGROUP_DELEGATION.md
6060 https://github.com/systemd/systemd/blob/master/docs/PORTABLE_SERVICES.md
6061 https://github.com/systemd/systemd/blob/master/docs/CODE_QUALITY.md
6065 https://github.com/systemd/systemd/blob/master/docs/BOOT_LOADER_SPECIFICATION.md
7393 https://github.com/systemd/systemd/blob/master/docs/ENVIRONMENT.md