Home
last modified time | relevance | path

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

/systemd-251/src/import/
Dpull-common.c247 …const char *checksum, /* set if literal checksum verification is requested, in which case 'verify'… in pull_make_verification_jobs() argument
261 assert((verify < 0) || !checksum); in pull_make_verification_jobs()
267 if (verify == IMPORT_VERIFY_NO || checksum) { in pull_make_verification_jobs()
345 assert(job->checksum); in verify_one()
359 line = strjoina(job->checksum, " *", fn, "\n"); /* string for binary mode */ in verify_one()
365 line = strjoina(job->checksum, " ", fn, "\n"); /* string for text mode */ in verify_one()
506 const char *checksum, /* Verify with literal checksum */ in pull_verify() argument
522 assert((verify < 0) || !checksum); in pull_verify()
529 if (checksum) { in pull_verify()
539 assert(main_job->checksum); in pull_verify()
[all …]
Dpull-tar.c67 char *checksum; member
92 free(i->checksum); in tar_pull_unref()
385 i->checksum, in tar_pull_job_on_finished()
584 const char *checksum) { in tar_pull_start() argument
592 assert((verify < 0) || !checksum); in tar_pull_start()
595 assert(!(flags & PULL_SETTINGS) || !checksum); in tar_pull_start()
610 r = free_and_strdup(&i->checksum, checksum); in tar_pull_start()
624 …i->tar_job->calc_checksum = checksum || IN_SET(verify, IMPORT_VERIFY_CHECKSUM, IMPORT_VERIFY_SIGNA… in tar_pull_start()
637 checksum, in tar_pull_start()
Dpull-raw.c81 char *checksum; member
112 free(i->checksum); in raw_pull_unref()
581 i->checksum, in raw_pull_job_on_finished()
823 const char *checksum) { in raw_pull_start() argument
832 assert((verify < 0) || !checksum); in raw_pull_start()
836 … assert(!(flags & (PULL_SETTINGS|PULL_ROOTHASH|PULL_ROOTHASH_SIGNATURE|PULL_VERITY)) || !checksum); in raw_pull_start()
851 r = free_and_strdup(&i->checksum, checksum); in raw_pull_start()
866 if (checksum) in raw_pull_start()
896 i->checksum, in raw_pull_start()
Dpull-common.h32 …ksum_job, PullJob **ret_signature_job, ImportVerify verify, const char *checksum, const char *url,…
34 int pull_verify(ImportVerify verify, const char *checksum, PullJob *main_job, PullJob *checksum_job…
Dpull-job.c55 free(j->checksum); in pull_job_unref()
99 j->checksum = mfree(j->checksum); in pull_job_restart()
234 j->checksum = hexmem(k, checksum_len); in pull_job_curl_on_finished()
235 if (!j->checksum) { in pull_job_curl_on_finished()
240 log_debug("SHA256 of %s is %s.", j->url, j->checksum); in pull_job_curl_on_finished()
Dpull-tar.h19 …l, const char *url, const char *local, PullFlags flags, ImportVerify verify, const char *checksum);
Dpull-raw.h19 …l, uint64_t offset, uint64_t size_max, PullFlags flags, ImportVerify verify, const char *checksum);
Dpull-job.h79 char *checksum; member
/systemd-251/src/libsystemd-network/
Ddhcp-packet.c128 int dhcp_packet_verify_headers(DHCPPacket *packet, size_t len, bool checksum, uint16_t port) { in dhcp_packet_verify_headers() argument
180 if (checksum && packet->udp.check) { in dhcp_packet_verify_headers()
Ddhcp-internal.h65 int dhcp_packet_verify_headers(DHCPPacket *packet, size_t len, bool checksum, uint16_t port);
Dsd-dhcp-client.c1993 bool checksum = true; in client_receive_message_raw() local
2029 checksum = !(aux->tp_status & TP_STATUS_CSUMNOTREADY); in client_receive_message_raw()
2032 r = dhcp_packet_verify_headers(packet, len, checksum, client->port); in client_receive_message_raw()
/systemd-251/src/shared/
Dacpi-fpdt.c20 uint8_t checksum; member
/systemd-251/shell-completion/zsh/
D_machinectl104 '--verify=[Verification mode for downloaded images.]:verify:(no checksum signature)' \
/systemd-251/
DNEWS7040 downloaded images using SUSE-style .sha256 checksum files in addition