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 880 daemons/based/based_callbacks.c const char *digest = NULL; digest 884 daemons/based/based_callbacks.c digest = crm_element_value(result_diff, XML_ATTR_DIGEST); digest 893 daemons/based/based_callbacks.c diff_add_admin_epoch, diff_add_epoch, diff_add_updates, digest); digest 901 daemons/based/based_callbacks.c CRM_ASSERT(digest != NULL); digest 157 daemons/based/based_messages.c char *digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 165 daemons/based/based_messages.c crm_xml_add(*answer, XML_ATTR_DIGEST, digest); digest 187 daemons/based/based_messages.c host, digest, digest 194 daemons/based/based_messages.c free(digest); digest 394 daemons/based/based_messages.c char *digest = NULL; digest 429 daemons/based/based_messages.c digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 430 daemons/based/based_messages.c crm_xml_add(replace_request, XML_ATTR_DIGEST, digest); digest 439 daemons/based/based_messages.c free(digest); digest 602 daemons/controld/controld_execd.c char *digest = NULL; digest 631 daemons/controld/controld_execd.c digest = calculate_operation_digest(restart, version); digest 636 daemons/controld/controld_execd.c crm_xml_add(update, XML_LRM_ATTR_RESTART_DIGEST, digest); digest 639 daemons/controld/controld_execd.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 641 daemons/controld/controld_execd.c crm_trace("%s: %s", op->rsc_id, digest); digest 648 daemons/controld/controld_execd.c free(digest); digest 656 daemons/controld/controld_execd.c char *digest = NULL; digest 669 daemons/controld/controld_execd.c digest = calculate_operation_digest(secure, version); digest 671 daemons/controld/controld_execd.c crm_xml_add(update, XML_LRM_ATTR_SECURE_DIGEST, digest); digest 673 daemons/controld/controld_execd.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 680 daemons/controld/controld_execd.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 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 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 103 lib/common/digest.c digest = crm_md5sum((const char *) buffer->str); digest 111 lib/common/digest.c pcmk__get_tmpdir(), digest); digest 123 lib/common/digest.c return digest; digest 259 lib/common/digest.c char *digest = NULL; digest 268 lib/common/digest.c digest = malloc(2 * MD5_DIGEST_SIZE + 1); digest 269 lib/common/digest.c if (digest) { digest 272 lib/common/digest.c sprintf(digest + (2 * lpc), "%02x", raw_digest[lpc]); digest 274 lib/common/digest.c digest[(2 * MD5_DIGEST_SIZE)] = 0; digest 275 lib/common/digest.c crm_trace("Digest %s.", digest); digest 280 lib/common/digest.c return digest; digest 430 lib/common/patchset.c char *digest = NULL; digest 447 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); digest 449 lib/common/patchset.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); digest 450 lib/common/patchset.c free(digest); digest 468 lib/common/patchset.c const char *digest = NULL; digest 492 lib/common/patchset.c digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 499 lib/common/patchset.c add[0], add[1], add[2], digest); digest 1322 lib/common/patchset.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 1338 lib/common/patchset.c if (digest) { digest 1357 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { digest 1370 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1372 lib/common/patchset.c format, digest, new_digest); digest 1387 lib/common/patchset.c format, digest, new_digest); digest 1648 lib/common/patchset.c const char *digest = crm_element_value(diff, XML_ATTR_DIGEST); digest 1701 lib/common/patchset.c } else if (result && (digest != NULL)) { digest 1707 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1709 lib/common/patchset.c digest, new_digest); digest 1721 lib/common/patchset.c digest, new_digest); digest 928 lib/pacemaker/pcmk_output.c add_digest_xml(xmlNode *parent, const char *type, const char *digest, digest 931 lib/pacemaker/pcmk_output.c if (digest != NULL) { digest 935 lib/pacemaker/pcmk_output.c crm_xml_add(digest_xml, "hash", digest); digest 50 lib/pacemaker/pcmk_resource.c const char *digest = crm_element_value(lrm_rsc_op, digest 86 lib/pacemaker/pcmk_resource.c if (best_digest != NULL && digest == NULL) { digest 100 lib/pacemaker/pcmk_resource.c best_digest = digest; digest 1083 lib/pacemaker/pcmk_sched_actions.c char *digest = NULL; digest 1092 lib/pacemaker/pcmk_sched_actions.c digest = calculate_operation_digest(args_xml, NULL); digest 1093 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(update, XML_LRM_ATTR_OP_DIGEST, digest); digest 1095 lib/pacemaker/pcmk_sched_actions.c free(digest); digest 574 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 579 lib/pengine/pe_digest.c pe__node_name(node), digest); digest 580 lib/pengine/pe_digest.c free(digest); digest 582 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 586 lib/pengine/pe_digest.c rsc->id, pe__node_name(node), digest); digest 587 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 702 tools/cibadmin.c char *digest = NULL; digest 709 tools/cibadmin.c digest = calculate_on_disk_digest(input); digest 711 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 712 tools/cibadmin.c free(digest); digest 717 tools/cibadmin.c char *digest = NULL; digest 726 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); digest 728 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 729 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);