Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 44) sorted by relevance

12

/systemd-251/src/basic/
Dgcrypt-util.c23 _cleanup_(gcry_md_closep) gcry_md_hd_t md = NULL; in string_hashsum()
34 err = gcry_md_open(&md, md_algorithm, 0); in string_hashsum()
35 if (gcry_err_code(err) != GPG_ERR_NO_ERROR || !md) in string_hashsum()
38 gcry_md_write(md, s, len); in string_hashsum()
40 hash = gcry_md_read(md, 0); in string_hashsum()
/systemd-251/src/shared/
Dcreds-util.c452 _cleanup_(EVP_MD_CTX_freep) EVP_MD_CTX *md = NULL; in sha256_hash_host_and_tpm2_key()
461 md = EVP_MD_CTX_new(); in sha256_hash_host_and_tpm2_key()
462 if (!md) in sha256_hash_host_and_tpm2_key()
465 if (EVP_DigestInit_ex(md, EVP_sha256(), NULL) != 1) in sha256_hash_host_and_tpm2_key()
468 if (host_key && EVP_DigestUpdate(md, host_key, host_key_size) != 1) in sha256_hash_host_and_tpm2_key()
471 if (tpm2_key && EVP_DigestUpdate(md, tpm2_key, tpm2_key_size) != 1) in sha256_hash_host_and_tpm2_key()
474 assert(EVP_MD_CTX_size(md) == SHA256_DIGEST_LENGTH); in sha256_hash_host_and_tpm2_key()
476 if (EVP_DigestFinal_ex(md, ret, &l) != 1) in sha256_hash_host_and_tpm2_key()
503 uint8_t md[SHA256_DIGEST_LENGTH]; in encrypt_credential_and_warn() local
624 r = sha256_hash_host_and_tpm2_key(host_key, host_key_size, tpm2_key, tpm2_key_size, md); in encrypt_credential_and_warn()
[all …]
/systemd-251/src/resolve/
Dresolved-dns-dnssec.c896 _cleanup_(gcry_md_closep) gcry_md_hd_t md = NULL; in dnssec_rrset_verify_sig()
940 gcry_error_t err = gcry_md_open(&md, md_algorithm, 0); in dnssec_rrset_verify_sig()
941 if (gcry_err_code(err) != GPG_ERR_NO_ERROR || !md) in dnssec_rrset_verify_sig()
947 gcry_md_write(md, sig_data, sig_size); in dnssec_rrset_verify_sig()
949 hash = gcry_md_read(md, 0); in dnssec_rrset_verify_sig()
1407 _cleanup_(gcry_md_closep) gcry_md_hd_t md = NULL; in dnssec_verify_dnskey_by_ds()
1415 gcry_error_t err = gcry_md_open(&md, md_algorithm, 0); in dnssec_verify_dnskey_by_ds()
1416 if (gcry_err_code(err) != GPG_ERR_NO_ERROR || !md) in dnssec_verify_dnskey_by_ds()
1419 gcry_md_write(md, wire_format, r); in dnssec_verify_dnskey_by_ds()
1421 md_add_uint16(md, dnskey->dnskey.flags & ~DNSKEY_FLAG_REVOKE); in dnssec_verify_dnskey_by_ds()
[all …]
/systemd-251/rules.d/
D99-systemd.rules.in30 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}…
31 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", E…
D50-udev-default.rules.in7 # The md driver increments diskseq *after* emitting 'change' uevent.
9 SUBSYSTEM=="block", KERNEL=="md*", ENV{ID_IGNORE_DISKSEQ}="1"
/systemd-251/test/fuzz/fuzz-udev-rules/
D99-systemd.rules30 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}…
31 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", E…
/systemd-251/
DREADME.md31 Please see the [Code Map](docs/ARCHITECTURE.md) for information about this repository's layout and …
33 Please see the [Hacking guide](docs/HACKING.md) for information on how to hack on systemd and test …
35 Please see our [Contribution Guidelines](docs/CONTRIBUTING.md) for more information about filing Gi…
37 …n preparing patches for systemd, please follow our [Coding Style Guidelines](docs/CODING_STYLE.md).
D.mailmap102 Marco d'Itri <md@linux.it> <md@Linux.IT>
/systemd-251/docs/
DCONVERTING_TO_HOMED.md19 * [Home Directories](HOME_DIRECTORY.md)
20 * [JSON User Records](USER_RECORD.md)
21 * [JSON Group Records](GROUP_RECORD.md)
22 * [User/Group Record Lookup API via Varlink](USER_GROUP_API.md)
DCONTRIBUTING.md30 See [reporting of security vulnerabilities](SECURITY.md).
35 * Follow our [Coding Style](CODING_STYLE.md) when contributing code. This is a requirement for all …
36 * Please make sure to test your change before submitting the PR. See the [Hacking guide](HACKING.md
40 …GPL-2.1-or-later. If the license is not LGPL-2.1-or-later, please add a note to LICENSES/README.md.
DPORTABILITY_AND_STABILITY.md86 | [initrd interface](INITRD_INTERFACE.md) | Environment, flag files | yes | yes | dracut, ArchLinux…
87 | [Container interface](CONTAINER_INTERFACE.md) | Environment, Mounts | yes | yes | libvirt/LXC | y…
88 | [Boot Loader interface](BOOT_LOADER_INTERFACE.md) | EFI variables | yes | yes | gummiboot | yes |…
98 | [argv&#91;0&#93;&#91;0&#93;='@' Logic](ROOT_STORAGE_DAEMONS.md) | `/proc` marking | yes | yes | m…
102 | [Journal File Format](JOURNAL_FILE_FORMAT.md) | File format | yes | yes | - | maybe | - | no |
103 | [Journal Export Format](JOURNAL_EXPORT_FORMATS.md#journal-export-format) | File format | yes | ye…
104 | [Journal JSON Format](JOURNAL_EXPORT_FORMATS.md#journal-json-format) | File format | yes | yes | …
106 | [Password Agents](PASSWORD_AGENTS.md) | Socket+Files | yes | yes | - | yes | - | no |
DUSERDB_AND_DESKTOPS.md24 * [Home Directories](HOME_DIRECTORY.md)
25 * [JSON User Records](USER_RECORD.md)
26 * [JSON Group Records](GROUP_RECORD.md)
27 * [User/Group Record Lookup API via Varlink](USER_GROUP_API.md)
150 [Converting Existing Users to systemd-homed managed Users](CONVERTING_TO_HOMED.md).
DBOOT_LOADER_INTERFACE.md75 …r supports boot counting as described in [Automatic Boot Assessment](AUTOMATIC_BOOT_ASSESSMENT.md).
119 [Boot Loader Specification](BOOT_LOADER_SPECIFICATION.md) drop-in files
149 [Boot Loader Specification](BOOT_LOADER_SPECIFICATION.md)<br>
150 [Discoverable Partitions Specification](DISCOVERABLE_PARTITIONS.md)<br>
DINITRD_INTERFACE.md41 [systemd and Storage Daemons for the Root File System](ROOT_STORAGE_DAEMONS.md)
72 on [systemd and Storage Daemons for the Root File System](ROOT_STORAGE_DAEMONS.md).
DHACKING.md14 Please make sure to follow our [Coding Style](CODING_STYLE.md) when submitting
15 patches. Also have a look at our [Contribution Guidelines](CONTRIBUTING.md).
26 Please also have a look at our list of [code quality tools](CODE_QUALITY.md) we
167 guidance in [CONTRIBUTING.md](CONTRIBUTING.md) on how to report a security vulnerability.
DBUILDING_IMAGES.md70 [Boot Loader Specification Type 1](BOOT_LOADER_SPECIFICATION.md) entries by
206 [Discoverable Partitions Specification](DISCOVERABLE_PARTITIONS.md) for
270 [Boot Loader Specification](BOOT_LOADER_SPECIFICATION.md)<br>
271 [Discoverable Partitions Specification](DISCOVERABLE_PARTITIONS.md)<br>
DJOURNAL_EXPORT_FORMATS.md14 The binary format on disk is documented as the [Journal File Format](JOURNAL_FILE_FORMAT.md)._
127 The binary format on disk is documented as [Journal File Format](JOURNAL_FILE_FORMAT.md)._
DPORTING_TO_NEW_ARCHITECTURES.md30 `docs/DISCOVERABLE_PARTITIONS.md` and `man/systemd-gpt-auto-generator.xml`
DCODE_QUALITY.md75 See [Testing systemd using sanitizers](TESTING_WITH_SANITIZERS.md)
/systemd-251/test/TEST-67-INTEGRITY/
Dtest.sh16 instmods dm_integrity =md
/systemd-251/test/TEST-29-PORTABLE/
Dtest.sh20 instmods dm_verity =md
/systemd-251/test/TEST-50-DISSECT/
Dtest.sh26 instmods dm_verity =md
/systemd-251/src/journal/
Djournalctl.c1117 _cleanup_(sym_pcre2_match_data_freep) pcre2_match_data *md = NULL; in parse_argv()
1121 md = sym_pcre2_match_data_create(1, NULL); in parse_argv()
1122 if (!md) in parse_argv()
1129 … r = sym_pcre2_match(cs, (PCRE2_SPTR8) arg_pattern, PCRE2_ZERO_TERMINATED, 0, 0, md, NULL); in parse_argv()
2697 _cleanup_(sym_pcre2_match_data_freep) pcre2_match_data *md = NULL; in main()
2702 md = sym_pcre2_match_data_create(1, NULL); in main()
2703 if (!md) in main()
2724 md, in main()
2741 ovec = sym_pcre2_get_ovector_pointer(md); in main()
/systemd-251/src/portable/
Dportable.c1618 _cleanup_free_ char *md = NULL; in portable_detach() local
1644 md = strjoin(item, ".d"); in portable_detach()
1645 if (!md) in portable_detach()
1648 if (unlinkat(dirfd(d), md, AT_REMOVEDIR) < 0) { in portable_detach()
1649 … log_debug_errno(errno, "Can't remove drop-in directory %s/%s: %m", where, md); in portable_detach()
1654 … portable_changes_add_with_prefix(changes, n_changes, PORTABLE_UNLINK, where, md, NULL); in portable_detach()
/systemd-251/test/
Dtest-functions1072 …inst_rules 01-md-raid-creating.rules 63-md-raid-arrays.rules 64-md-raid-assembly.rules 69-md-clust…
1074 [[ -f /lib/udev/rules.d/65-md-incremental.rules ]] && inst_rules 65-md-incremental.rules

12