digest 310 daemons/based/based_callbacks.c const char *digest = crm_element_value(pong, XML_ATTR_DIGEST); digest 325 daemons/based/based_callbacks.c if(digest == NULL) { digest 342 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); digest 343 daemons/based/based_callbacks.c if (!pcmk__str_eq(ping_digest, digest, pcmk__str_casei)) { digest 354 daemons/based/based_callbacks.c digest, remote_cib); digest 878 daemons/based/based_callbacks.c const char *digest = NULL; digest 882 daemons/based/based_callbacks.c digest = crm_element_value(result_diff, XML_ATTR_DIGEST); digest 891 daemons/based/based_callbacks.c diff_add_admin_epoch, diff_add_epoch, diff_add_updates, digest); digest 899 daemons/based/based_callbacks.c CRM_ASSERT(digest != NULL); digest 160 daemons/based/based_messages.c char *digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 168 daemons/based/based_messages.c crm_xml_add(*answer, XML_ATTR_DIGEST, digest); digest 190 daemons/based/based_messages.c host, digest, digest 197 daemons/based/based_messages.c free(digest); digest 495 daemons/based/based_messages.c char *digest = NULL; digest 528 daemons/based/based_messages.c digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 529 daemons/based/based_messages.c crm_xml_add(replace_request, XML_ATTR_DIGEST, digest); digest 538 daemons/based/based_messages.c free(digest); digest 590 daemons/controld/controld_execd.c char *digest = NULL; digest 619 daemons/controld/controld_execd.c digest = calculate_operation_digest(restart, version); digest 623 daemons/controld/controld_execd.c crm_xml_add(update, XML_LRM_ATTR_RESTART_DIGEST, digest); digest 625 daemons/controld/controld_execd.c crm_trace("%s: %s, %s", op->rsc_id, digest, list); digest 629 daemons/controld/controld_execd.c free(digest); digest 638 daemons/controld/controld_execd.c char *digest = NULL; digest 651 daemons/controld/controld_execd.c digest = calculate_operation_digest(secure, version); digest 653 daemons/controld/controld_execd.c crm_xml_add(update, XML_LRM_ATTR_SECURE_DIGEST, digest); digest 655 daemons/controld/controld_execd.c crm_trace("%s: %s, %s", op->rsc_id, digest, list); digest 662 daemons/controld/controld_execd.c free(digest); digest 91 daemons/schedulerd/pacemaker-schedulerd.c char *digest = NULL; digest 101 daemons/schedulerd/pacemaker-schedulerd.c digest = calculate_xml_versioned_digest(xml_data, FALSE, FALSE, digest 109 daemons/schedulerd/pacemaker-schedulerd.c free(digest); digest 111 daemons/schedulerd/pacemaker-schedulerd.c } else if (pcmk__str_eq(digest, last_digest, pcmk__str_casei)) { digest 113 daemons/schedulerd/pacemaker-schedulerd.c free(digest); digest 117 daemons/schedulerd/pacemaker-schedulerd.c last_digest = digest; digest 367 lib/cib/cib_file.c char *digest = NULL; digest 436 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); digest 437 lib/cib/cib_file.c CRM_ASSERT(digest != NULL); digest 439 lib/cib/cib_file.c (admin_epoch ? admin_epoch : "0"), (epoch ? epoch : "0"), digest); digest 455 lib/cib/cib_file.c rc = pcmk__write_sync(fd, digest); digest 464 lib/cib/cib_file.c crm_debug("Wrote digest %s to disk", digest); digest 488 lib/cib/cib_file.c free(digest); digest 208 lib/cib/cib_ops.c const char *digest = crm_element_value(req, XML_ATTR_DIGEST); digest 210 lib/cib/cib_ops.c if (digest) { digest 216 lib/cib/cib_ops.c if (!pcmk__str_eq(digest_verify, digest, pcmk__str_casei)) { digest 218 lib/cib/cib_ops.c digest_verify, digest); digest 222 lib/cib/cib_ops.c crm_info("Digest matched on replace from %s: %s", peer, digest); digest 59 lib/common/digest.c char *digest = NULL; digest 75 lib/common/digest.c digest = crm_md5sum(buffer); digest 80 lib/common/digest.c return digest; digest 94 lib/common/digest.c char *digest = NULL; digest 120 lib/common/digest.c digest = crm_md5sum(buffer); digest 128 lib/common/digest.c pcmk__get_tmpdir(), digest); digest 140 lib/common/digest.c return digest; digest 274 lib/common/digest.c char *digest = NULL; digest 283 lib/common/digest.c digest = malloc(2 * MD5_DIGEST_SIZE + 1); digest 284 lib/common/digest.c if (digest) { digest 287 lib/common/digest.c sprintf(digest + (2 * lpc), "%02x", raw_digest[lpc]); digest 289 lib/common/digest.c digest[(2 * MD5_DIGEST_SIZE)] = 0; digest 290 lib/common/digest.c crm_trace("Digest %s.", digest); digest 295 lib/common/digest.c return digest; digest 431 lib/common/patchset.c char *digest = NULL; digest 448 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); digest 450 lib/common/patchset.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); digest 451 lib/common/patchset.c free(digest); digest 469 lib/common/patchset.c const char *digest = NULL; digest 493 lib/common/patchset.c digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 500 lib/common/patchset.c add[0], add[1], add[2], digest); digest 1330 lib/common/patchset.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 1346 lib/common/patchset.c if (digest) { digest 1365 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { digest 1378 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1380 lib/common/patchset.c format, digest, new_digest); digest 1395 lib/common/patchset.c format, digest, new_digest); digest 1656 lib/common/patchset.c const char *digest = crm_element_value(diff, XML_ATTR_DIGEST); digest 1709 lib/common/patchset.c } else if (result && (digest != NULL)) { digest 1715 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1717 lib/common/patchset.c digest, new_digest); digest 1729 lib/common/patchset.c digest, new_digest); digest 814 lib/pacemaker/pcmk_output.c add_digest_xml(xmlNode *parent, const char *type, const char *digest, digest 817 lib/pacemaker/pcmk_output.c if (digest != NULL) { digest 821 lib/pacemaker/pcmk_output.c crm_xml_add(digest_xml, "hash", digest); digest 46 lib/pacemaker/pcmk_resource.c const char *digest = crm_element_value(lrm_rsc_op, digest 63 lib/pacemaker/pcmk_resource.c if (digest != NULL) { digest 515 lib/pacemaker/pcmk_sched_utils.c char *digest = NULL; digest 525 lib/pacemaker/pcmk_sched_utils.c digest = calculate_operation_digest(args_xml, version); digest 533 lib/pacemaker/pcmk_sched_utils.c digest, ID(update), magic, digest_source); digest 537 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(update, XML_LRM_ATTR_OP_DIGEST, digest); digest 540 lib/pacemaker/pcmk_sched_utils.c free(digest); digest 562 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 567 lib/pengine/pe_digest.c node->details->uname, digest); digest 568 lib/pengine/pe_digest.c free(digest); digest 570 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 574 lib/pengine/pe_digest.c rsc->id, node->details->uname, digest); digest 575 lib/pengine/pe_digest.c free(digest); digest 480 maint/gnulib/lib/gc-libgcrypt.c const char *digest; digest 486 maint/gnulib/lib/gc-libgcrypt.c digest = ctx->hash; digest 494 maint/gnulib/lib/gc-libgcrypt.c digest = ctx->hash; digest 500 maint/gnulib/lib/gc-libgcrypt.c digest = (const char *) gcry_md_read (ctx->gch, 0); digest 503 maint/gnulib/lib/gc-libgcrypt.c return digest; digest 105 maint/gnulib/tests/bench-digest.h char digest[64]; digest 106 maint/gnulib/tests/bench-digest.h FUNC (memblock, size, digest); digest 78 maint/gnulib/tests/test-digest.h char *digest = (char *) malloc (digest_size + 1) + 1; digest 112 maint/gnulib/tests/test-digest.h ret = streamfunc (fp, digest); digest 118 maint/gnulib/tests/test-digest.h if (memcmp (digest, expected, digest_size) != 0) digest 128 maint/gnulib/tests/test-digest.h fprintf (stderr, "\\x%02x", ((const unsigned char *) digest)[i]); digest 139 maint/gnulib/tests/test-digest.h free (digest - 1); digest 45 maint/gnulib/tests/test-gc-hmac-md5.c char *digest = digest 63 maint/gnulib/tests/test-gc-hmac-md5.c if (memcmp (digest, out, 16) != 0) digest 68 maint/gnulib/tests/test-gc-hmac-md5.c printf ("%02x ", digest[i] & 0xFF); digest 43 maint/gnulib/tests/test-gc-hmac-sha1.c char *digest = digest 54 maint/gnulib/tests/test-gc-hmac-sha1.c if (memcmp (digest, out, GC_SHA1_DIGEST_SIZE) != 0) digest 59 maint/gnulib/tests/test-gc-hmac-sha1.c printf ("%02x ", digest[i] & 0xFF); digest 43 maint/gnulib/tests/test-gc-hmac-sha256.c char *digest = digest 53 maint/gnulib/tests/test-gc-hmac-sha256.c if (memcmp (digest, out, GC_SHA256_DIGEST_SIZE) != 0) digest 58 maint/gnulib/tests/test-gc-hmac-sha256.c printf ("%02x ", digest[i] & 0xFF); digest 43 maint/gnulib/tests/test-gc-hmac-sha512.c char *digest = digest 53 maint/gnulib/tests/test-gc-hmac-sha512.c if (memcmp (digest, out, GC_SHA512_DIGEST_SIZE) != 0) digest 58 maint/gnulib/tests/test-gc-hmac-sha512.c printf ("%02x ", digest[i] & 0xFF); digest 31 maint/gnulib/tests/test-hmac-md5.c const void *data, size_t data_len, const char *digest) digest 41 maint/gnulib/tests/test-hmac-md5.c if (memcmp (digest, out, 16) != 0) digest 46 maint/gnulib/tests/test-hmac-md5.c printf ("%02x ", digest[i] & 0xFF); digest 64 maint/gnulib/tests/test-hmac-md5.c char *digest = digest 66 maint/gnulib/tests/test-hmac-md5.c hmac_check (key, key_len, data, data_len, digest); digest 74 maint/gnulib/tests/test-hmac-md5.c char *digest = digest 76 maint/gnulib/tests/test-hmac-md5.c hmac_check (key, key_len, data, data_len, digest); digest 86 maint/gnulib/tests/test-hmac-md5.c char *digest = digest 88 maint/gnulib/tests/test-hmac-md5.c hmac_check (key, key_len, data, data_len, digest); digest 97 maint/gnulib/tests/test-hmac-md5.c char *digest = digest 99 maint/gnulib/tests/test-hmac-md5.c hmac_check (key, key_len, data, data_len, digest); digest 29 maint/gnulib/tests/test-hmac-sha1.c const void *data, size_t data_len, const char *digest) digest 39 maint/gnulib/tests/test-hmac-sha1.c if (memcmp (digest, out, 20) != 0) digest 44 maint/gnulib/tests/test-hmac-sha1.c printf ("%02x ", digest[i] & 0xFF); digest 62 maint/gnulib/tests/test-hmac-sha1.c char *digest = digest 65 maint/gnulib/tests/test-hmac-sha1.c hmac_check (key, key_len, data, data_len, digest); digest 73 maint/gnulib/tests/test-hmac-sha1.c char *digest = digest 76 maint/gnulib/tests/test-hmac-sha1.c hmac_check (key, key_len, data, data_len, digest); digest 86 maint/gnulib/tests/test-hmac-sha1.c char *digest = digest 89 maint/gnulib/tests/test-hmac-sha1.c hmac_check (key, key_len, data, data_len, digest); digest 98 maint/gnulib/tests/test-hmac-sha1.c char *digest = digest 101 maint/gnulib/tests/test-hmac-sha1.c hmac_check (key, key_len, data, data_len, digest); digest 29 maint/gnulib/tests/test-hmac-sha256.c const void *data, size_t data_len, const char *digest) digest 39 maint/gnulib/tests/test-hmac-sha256.c if (memcmp (digest, out, 32) != 0) digest 44 maint/gnulib/tests/test-hmac-sha256.c printf ("%02x ", digest[i] & 0xFF); digest 62 maint/gnulib/tests/test-hmac-sha256.c char *digest = digest 65 maint/gnulib/tests/test-hmac-sha256.c hmac_check (key, key_len, data, data_len, digest); digest 73 maint/gnulib/tests/test-hmac-sha256.c char *digest = digest 76 maint/gnulib/tests/test-hmac-sha256.c hmac_check (key, key_len, data, data_len, digest); digest 86 maint/gnulib/tests/test-hmac-sha256.c char *digest = digest 89 maint/gnulib/tests/test-hmac-sha256.c hmac_check (key, key_len, data, data_len, digest); digest 98 maint/gnulib/tests/test-hmac-sha256.c char *digest = digest 101 maint/gnulib/tests/test-hmac-sha256.c hmac_check (key, key_len, data, data_len, digest); digest 29 maint/gnulib/tests/test-hmac-sha512.c const void *data, size_t data_len, const char *digest) digest 39 maint/gnulib/tests/test-hmac-sha512.c if (memcmp (digest, out, 64) != 0) digest 44 maint/gnulib/tests/test-hmac-sha512.c printf ("%02x ", digest[i] & 0xFF); digest 62 maint/gnulib/tests/test-hmac-sha512.c char *digest = digest 67 maint/gnulib/tests/test-hmac-sha512.c hmac_check (key, key_len, data, data_len, digest); digest 75 maint/gnulib/tests/test-hmac-sha512.c char *digest = digest 80 maint/gnulib/tests/test-hmac-sha512.c hmac_check (key, key_len, data, data_len, digest); digest 90 maint/gnulib/tests/test-hmac-sha512.c char *digest = digest 95 maint/gnulib/tests/test-hmac-sha512.c hmac_check (key, key_len, data, data_len, digest); digest 104 maint/gnulib/tests/test-hmac-sha512.c char *digest = digest 109 maint/gnulib/tests/test-hmac-sha512.c hmac_check (key, key_len, data, data_len, digest); digest 611 tools/cibadmin.c char *digest = NULL; digest 618 tools/cibadmin.c digest = calculate_on_disk_digest(input); digest 620 tools/cibadmin.c fprintf(stdout, "%s\n", crm_str(digest)); digest 621 tools/cibadmin.c free(digest); digest 626 tools/cibadmin.c char *digest = NULL; digest 635 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); digest 637 tools/cibadmin.c fprintf(stdout, "%s\n", crm_str(digest)); digest 638 tools/cibadmin.c free(digest); digest 166 tools/crm_diff.c const char *digest = NULL; digest 170 tools/crm_diff.c digest = crm_element_value(patch, XML_ATTR_DIGEST); digest 174 tools/crm_diff.c crm_info("Patch: +++ %d.%d.%d %s", add[0], add[1], add[2], digest);