digest 433 daemons/based/based_callbacks.c const char *digest = crm_element_value(pong, PCMK__XA_DIGEST); digest 451 daemons/based/based_callbacks.c if(digest == NULL) { digest 468 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); digest 469 daemons/based/based_callbacks.c if (!pcmk__str_eq(ping_digest, digest, pcmk__str_casei)) { digest 494 daemons/based/based_callbacks.c digest, remote_cib); digest 991 daemons/based/based_callbacks.c const char *digest = NULL; digest 997 daemons/based/based_callbacks.c digest = crm_element_value(result_diff, PCMK__XA_DIGEST); digest 1006 daemons/based/based_callbacks.c diff_add_admin_epoch, diff_add_epoch, diff_add_updates, digest); digest 1014 daemons/based/based_callbacks.c pcmk__assert(digest != NULL); digest 143 daemons/based/based_messages.c char *digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 151 daemons/based/based_messages.c crm_xml_add(*answer, PCMK__XA_DIGEST, digest); digest 175 daemons/based/based_messages.c host, digest, digest 180 daemons/based/based_messages.c free(digest); digest 421 daemons/based/based_messages.c char *digest = NULL; digest 450 daemons/based/based_messages.c digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 451 daemons/based/based_messages.c crm_xml_add(replace_request, PCMK__XA_DIGEST, digest); digest 463 daemons/based/based_messages.c free(digest); digest 562 daemons/controld/controld_cib.c char *digest = NULL; digest 593 daemons/controld/controld_cib.c digest = calculate_operation_digest(restart, version); digest 600 daemons/controld/controld_cib.c crm_xml_add(update, PCMK__XA_OP_RESTART_DIGEST, digest); digest 603 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 605 daemons/controld/controld_cib.c crm_trace("%s: %s", op->rsc_id, digest); digest 612 daemons/controld/controld_cib.c free(digest); digest 620 daemons/controld/controld_cib.c char *digest = NULL; digest 631 daemons/controld/controld_cib.c digest = calculate_operation_digest(secure, version); digest 634 daemons/controld/controld_cib.c crm_xml_add(update, PCMK__XA_OP_SECURE_DIGEST, digest); digest 636 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 643 daemons/controld/controld_cib.c free(digest); digest 69 daemons/schedulerd/schedulerd_messages.c char *digest = NULL; digest 81 daemons/schedulerd/schedulerd_messages.c digest = calculate_xml_versioned_digest(xml_data, FALSE, FALSE, digest 89 daemons/schedulerd/schedulerd_messages.c free(digest); digest 91 daemons/schedulerd/schedulerd_messages.c } else if (pcmk__str_eq(digest, last_digest, pcmk__str_casei)) { digest 93 daemons/schedulerd/schedulerd_messages.c free(digest); digest 97 daemons/schedulerd/schedulerd_messages.c last_digest = digest; digest 939 lib/cib/cib_file.c char *digest = NULL; digest 1004 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); digest 1005 lib/cib/cib_file.c pcmk__assert(digest != NULL); digest 1007 lib/cib/cib_file.c (admin_epoch ? admin_epoch : "0"), (epoch ? epoch : "0"), digest); digest 1023 lib/cib/cib_file.c rc = pcmk__write_sync(fd, digest); digest 1032 lib/cib/cib_file.c crm_debug("Wrote digest %s to disk", digest); digest 1056 lib/cib/cib_file.c free(digest); digest 342 lib/cib/cib_ops.c const char *digest = crm_element_value(req, PCMK__XA_DIGEST); digest 344 lib/cib/cib_ops.c if (digest) { digest 351 lib/cib/cib_ops.c if (!pcmk__str_eq(digest_verify, digest, pcmk__str_casei)) { digest 353 lib/cib/cib_ops.c digest_verify, digest); digest 357 lib/cib/cib_ops.c crm_info("Digest matched on replace from %s: %s", peer, digest); digest 58 lib/common/digest.c char *digest = NULL; digest 74 lib/common/digest.c digest = crm_md5sum((const char *) buffer->str); digest 79 lib/common/digest.c return digest; digest 93 lib/common/digest.c char *digest = NULL; digest 99 lib/common/digest.c digest = crm_md5sum(buf->str); digest 104 lib/common/digest.c pcmk__get_tmpdir(), digest); digest 118 lib/common/digest.c return digest; digest 254 lib/common/digest.c char *digest = NULL; digest 263 lib/common/digest.c digest = malloc(2 * MD5_DIGEST_SIZE + 1); digest 264 lib/common/digest.c if (digest) { digest 267 lib/common/digest.c sprintf(digest + (2 * lpc), "%02x", raw_digest[lpc]); digest 269 lib/common/digest.c digest[(2 * MD5_DIGEST_SIZE)] = 0; digest 270 lib/common/digest.c crm_trace("Digest %s.", digest); digest 275 lib/common/digest.c return digest; digest 391 lib/common/patchset.c char *digest = NULL; digest 408 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); digest 410 lib/common/patchset.c crm_xml_add(patch, PCMK__XA_DIGEST, digest); digest 411 lib/common/patchset.c free(digest); digest 1323 lib/common/patchset.c const char *digest = NULL; digest 1338 lib/common/patchset.c digest = crm_element_value(patchset, PCMK__XA_DIGEST); digest 1339 lib/common/patchset.c if (digest != NULL) { digest 1362 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { digest 1367 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1369 lib/common/patchset.c format, digest, new_digest); digest 1382 lib/common/patchset.c format, digest, new_digest); digest 1473 lib/common/patchset.c const char *digest = crm_element_value(diff, PCMK__XA_DIGEST); digest 1525 lib/common/patchset.c } else if (result && (digest != NULL)) { digest 1531 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1533 lib/common/patchset.c digest, new_digest); digest 1547 lib/common/patchset.c digest, new_digest); digest 51 lib/common/patchset_display.c const char *digest = crm_element_value(patchset, PCMK__XA_DIGEST); digest 55 lib/common/patchset_display.c add[0], add[1], add[2], digest); digest 1012 lib/pacemaker/pcmk_output.c add_digest_xml(xmlNode *parent, const char *type, const char *digest, digest 1015 lib/pacemaker/pcmk_output.c if (digest != NULL) { digest 1019 lib/pacemaker/pcmk_output.c crm_xml_add(digest_xml, PCMK_XA_HASH, digest); digest 54 lib/pacemaker/pcmk_resource.c const char *digest = crm_element_value(lrm_rsc_op, digest 92 lib/pacemaker/pcmk_resource.c if (best_digest != NULL && digest == NULL) { digest 106 lib/pacemaker/pcmk_resource.c best_digest = digest; digest 1088 lib/pacemaker/pcmk_sched_actions.c char *digest = NULL; digest 1097 lib/pacemaker/pcmk_sched_actions.c digest = calculate_operation_digest(args_xml, NULL); digest 1098 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(update, PCMK__XA_OP_DIGEST, digest); digest 1100 lib/pacemaker/pcmk_sched_actions.c free(digest); digest 597 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 602 lib/pengine/pe_digest.c pcmk__node_name(node), digest); digest 603 lib/pengine/pe_digest.c free(digest); digest 605 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 609 lib/pengine/pe_digest.c rsc->id, pcmk__node_name(node), digest); digest 610 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 757 tools/cibadmin.c char *digest = NULL; digest 766 tools/cibadmin.c digest = calculate_on_disk_digest(input); digest 768 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 769 tools/cibadmin.c free(digest); digest 773 tools/cibadmin.c char *digest = NULL; digest 784 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); digest 786 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 787 tools/cibadmin.c free(digest); digest 153 tools/crm_diff.c const char *digest = NULL; digest 157 tools/crm_diff.c digest = crm_element_value(patch, PCMK__XA_DIGEST); digest 161 tools/crm_diff.c crm_info("Patch: +++ %d.%d.%d %s", add[0], add[1], add[2], digest);