digest 308 daemons/based/based_callbacks.c const char *digest = crm_element_value(pong, XML_ATTR_DIGEST); digest 323 daemons/based/based_callbacks.c if(digest == NULL) { digest 340 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); digest 341 daemons/based/based_callbacks.c if (!pcmk__str_eq(ping_digest, digest, pcmk__str_casei)) { digest 352 daemons/based/based_callbacks.c digest, remote_cib); digest 876 daemons/based/based_callbacks.c const char *digest = NULL; digest 880 daemons/based/based_callbacks.c digest = crm_element_value(result_diff, XML_ATTR_DIGEST); digest 889 daemons/based/based_callbacks.c diff_add_admin_epoch, diff_add_epoch, diff_add_updates, digest); digest 897 daemons/based/based_callbacks.c CRM_ASSERT(digest != NULL); digest 147 daemons/based/based_messages.c char *digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 153 daemons/based/based_messages.c crm_xml_add(*answer, XML_ATTR_DIGEST, digest); digest 173 daemons/based/based_messages.c host, digest, digest 178 daemons/based/based_messages.c free(digest); digest 380 daemons/based/based_messages.c char *digest = NULL; digest 415 daemons/based/based_messages.c digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 416 daemons/based/based_messages.c crm_xml_add(replace_request, XML_ATTR_DIGEST, digest); digest 425 daemons/based/based_messages.c free(digest); digest 639 daemons/controld/controld_cib.c char *digest = NULL; digest 668 daemons/controld/controld_cib.c digest = calculate_operation_digest(restart, version); digest 673 daemons/controld/controld_cib.c crm_xml_add(update, XML_LRM_ATTR_RESTART_DIGEST, digest); digest 676 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 678 daemons/controld/controld_cib.c crm_trace("%s: %s", op->rsc_id, digest); digest 685 daemons/controld/controld_cib.c free(digest); digest 693 daemons/controld/controld_cib.c char *digest = NULL; digest 706 daemons/controld/controld_cib.c digest = calculate_operation_digest(secure, version); digest 708 daemons/controld/controld_cib.c crm_xml_add(update, XML_LRM_ATTR_SECURE_DIGEST, digest); digest 710 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 717 daemons/controld/controld_cib.c free(digest); digest 68 daemons/schedulerd/schedulerd_messages.c char *digest = NULL; digest 80 daemons/schedulerd/schedulerd_messages.c digest = calculate_xml_versioned_digest(xml_data, FALSE, FALSE, digest 88 daemons/schedulerd/schedulerd_messages.c free(digest); digest 90 daemons/schedulerd/schedulerd_messages.c } else if (pcmk__str_eq(digest, last_digest, pcmk__str_casei)) { digest 92 daemons/schedulerd/schedulerd_messages.c free(digest); digest 96 daemons/schedulerd/schedulerd_messages.c last_digest = digest; digest 794 lib/cib/cib_file.c char *digest = NULL; digest 863 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); digest 864 lib/cib/cib_file.c CRM_ASSERT(digest != NULL); digest 866 lib/cib/cib_file.c (admin_epoch ? admin_epoch : "0"), (epoch ? epoch : "0"), digest); digest 882 lib/cib/cib_file.c rc = pcmk__write_sync(fd, digest); digest 891 lib/cib/cib_file.c crm_debug("Wrote digest %s to disk", digest); digest 915 lib/cib/cib_file.c free(digest); digest 212 lib/cib/cib_ops.c const char *digest = crm_element_value(req, XML_ATTR_DIGEST); digest 214 lib/cib/cib_ops.c if (digest) { digest 220 lib/cib/cib_ops.c if (!pcmk__str_eq(digest_verify, digest, pcmk__str_casei)) { digest 222 lib/cib/cib_ops.c digest_verify, digest); digest 226 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((const char *) buffer->str); digest 80 lib/common/digest.c return digest; digest 94 lib/common/digest.c char *digest = NULL; digest 101 lib/common/digest.c digest = crm_md5sum((const char *) buffer->str); digest 106 lib/common/digest.c pcmk__get_tmpdir(), digest); digest 120 lib/common/digest.c return digest; digest 256 lib/common/digest.c char *digest = NULL; digest 265 lib/common/digest.c digest = malloc(2 * MD5_DIGEST_SIZE + 1); digest 266 lib/common/digest.c if (digest) { digest 269 lib/common/digest.c sprintf(digest + (2 * lpc), "%02x", raw_digest[lpc]); digest 271 lib/common/digest.c digest[(2 * MD5_DIGEST_SIZE)] = 0; digest 272 lib/common/digest.c crm_trace("Digest %s.", digest); digest 277 lib/common/digest.c return digest; digest 381 lib/common/patchset.c char *digest = NULL; digest 398 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); digest 400 lib/common/patchset.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); digest 401 lib/common/patchset.c free(digest); digest 1101 lib/common/patchset.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 1132 lib/common/patchset.c if (digest) { digest 1151 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { digest 1156 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1158 lib/common/patchset.c format, digest, new_digest); digest 1171 lib/common/patchset.c format, digest, new_digest); digest 1433 lib/common/patchset.c const char *digest = crm_element_value(diff, XML_ATTR_DIGEST); digest 1482 lib/common/patchset.c } else if (result && (digest != NULL)) { digest 1488 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1490 lib/common/patchset.c digest, new_digest); digest 1504 lib/common/patchset.c digest, new_digest); digest 51 lib/common/patchset_display.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 55 lib/common/patchset_display.c add[0], add[1], add[2], digest); digest 1001 lib/pacemaker/pcmk_output.c add_digest_xml(xmlNode *parent, const char *type, const char *digest, digest 1004 lib/pacemaker/pcmk_output.c if (digest != NULL) { digest 1008 lib/pacemaker/pcmk_output.c crm_xml_add(digest_xml, "hash", digest); digest 51 lib/pacemaker/pcmk_resource.c const char *digest = crm_element_value(lrm_rsc_op, digest 87 lib/pacemaker/pcmk_resource.c if (best_digest != NULL && digest == NULL) { digest 101 lib/pacemaker/pcmk_resource.c best_digest = digest; digest 1077 lib/pacemaker/pcmk_sched_actions.c char *digest = NULL; digest 1086 lib/pacemaker/pcmk_sched_actions.c digest = calculate_operation_digest(args_xml, NULL); digest 1087 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(update, XML_LRM_ATTR_OP_DIGEST, digest); digest 1089 lib/pacemaker/pcmk_sched_actions.c free(digest); digest 575 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 580 lib/pengine/pe_digest.c pe__node_name(node), digest); digest 581 lib/pengine/pe_digest.c free(digest); digest 583 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 587 lib/pengine/pe_digest.c rsc->id, pe__node_name(node), digest); digest 588 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 730 tools/cibadmin.c char *digest = NULL; digest 739 tools/cibadmin.c digest = calculate_on_disk_digest(input); digest 741 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 742 tools/cibadmin.c free(digest); digest 746 tools/cibadmin.c char *digest = NULL; digest 757 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); digest 759 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 760 tools/cibadmin.c free(digest); digest 152 tools/crm_diff.c const char *digest = NULL; digest 156 tools/crm_diff.c digest = crm_element_value(patch, XML_ATTR_DIGEST); digest 160 tools/crm_diff.c crm_info("Patch: +++ %d.%d.%d %s", add[0], add[1], add[2], digest);