digest 425 daemons/based/based_callbacks.c const char *digest = crm_element_value(pong, XML_ATTR_DIGEST); digest 440 daemons/based/based_callbacks.c if(digest == NULL) { digest 457 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); digest 458 daemons/based/based_callbacks.c if (!pcmk__str_eq(ping_digest, digest, pcmk__str_casei)) { digest 469 daemons/based/based_callbacks.c digest, remote_cib); digest 957 daemons/based/based_callbacks.c const char *digest = NULL; digest 961 daemons/based/based_callbacks.c digest = crm_element_value(result_diff, XML_ATTR_DIGEST); digest 970 daemons/based/based_callbacks.c diff_add_admin_epoch, diff_add_epoch, diff_add_updates, digest); digest 978 daemons/based/based_callbacks.c CRM_ASSERT(digest != NULL); digest 140 daemons/based/based_messages.c char *digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 146 daemons/based/based_messages.c crm_xml_add(*answer, XML_ATTR_DIGEST, digest); digest 166 daemons/based/based_messages.c host, digest, digest 171 daemons/based/based_messages.c free(digest); digest 416 daemons/based/based_messages.c char *digest = NULL; digest 441 daemons/based/based_messages.c digest = calculate_xml_versioned_digest(the_cib, FALSE, TRUE, CRM_FEATURE_SET); digest 442 daemons/based/based_messages.c crm_xml_add(replace_request, XML_ATTR_DIGEST, digest); digest 451 daemons/based/based_messages.c free(digest); digest 566 daemons/controld/controld_cib.c char *digest = NULL; digest 595 daemons/controld/controld_cib.c digest = calculate_operation_digest(restart, version); digest 600 daemons/controld/controld_cib.c crm_xml_add(update, XML_LRM_ATTR_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 633 daemons/controld/controld_cib.c digest = calculate_operation_digest(secure, version); digest 635 daemons/controld/controld_cib.c crm_xml_add(update, XML_LRM_ATTR_SECURE_DIGEST, digest); digest 637 daemons/controld/controld_cib.c crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str); digest 644 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 923 lib/cib/cib_file.c char *digest = NULL; digest 992 lib/cib/cib_file.c digest = calculate_on_disk_digest(cib_root); digest 993 lib/cib/cib_file.c CRM_ASSERT(digest != NULL); digest 995 lib/cib/cib_file.c (admin_epoch ? admin_epoch : "0"), (epoch ? epoch : "0"), digest); digest 1011 lib/cib/cib_file.c rc = pcmk__write_sync(fd, digest); digest 1020 lib/cib/cib_file.c crm_debug("Wrote digest %s to disk", digest); digest 1044 lib/cib/cib_file.c free(digest); digest 347 lib/cib/cib_ops.c const char *digest = crm_element_value(req, XML_ATTR_DIGEST); digest 349 lib/cib/cib_ops.c if (digest) { digest 355 lib/cib/cib_ops.c if (!pcmk__str_eq(digest_verify, digest, pcmk__str_casei)) { digest 357 lib/cib/cib_ops.c digest_verify, digest); digest 361 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 390 lib/common/patchset.c char *digest = NULL; digest 407 lib/common/patchset.c digest = calculate_xml_versioned_digest(target, FALSE, TRUE, version); digest 409 lib/common/patchset.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); digest 410 lib/common/patchset.c free(digest); digest 1104 lib/common/patchset.c const char *digest = NULL; digest 1119 lib/common/patchset.c digest = crm_element_value(patchset, XML_ATTR_DIGEST); digest 1120 lib/common/patchset.c if (digest != NULL) { digest 1142 lib/common/patchset.c if ((rc == pcmk_ok) && (digest != NULL)) { digest 1147 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1149 lib/common/patchset.c format, digest, new_digest); digest 1162 lib/common/patchset.c format, digest, new_digest); digest 1420 lib/common/patchset.c const char *digest = crm_element_value(diff, XML_ATTR_DIGEST); digest 1469 lib/common/patchset.c } else if (result && (digest != NULL)) { digest 1475 lib/common/patchset.c if (!pcmk__str_eq(new_digest, digest, pcmk__str_casei)) { digest 1477 lib/common/patchset.c digest, new_digest); digest 1491 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 1014 lib/pacemaker/pcmk_output.c add_digest_xml(xmlNode *parent, const char *type, const char *digest, digest 1017 lib/pacemaker/pcmk_output.c if (digest != NULL) { digest 1021 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 87 lib/pacemaker/pcmk_resource.c if (best_digest != NULL && digest == NULL) { digest 101 lib/pacemaker/pcmk_resource.c best_digest = digest; digest 1087 lib/pacemaker/pcmk_sched_actions.c char *digest = NULL; digest 1096 lib/pacemaker/pcmk_sched_actions.c digest = calculate_operation_digest(args_xml, NULL); digest 1097 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(update, XML_LRM_ATTR_OP_DIGEST, digest); digest 1099 lib/pacemaker/pcmk_sched_actions.c free(digest); digest 585 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 590 lib/pengine/pe_digest.c pe__node_name(node), digest); digest 591 lib/pengine/pe_digest.c free(digest); digest 593 lib/pengine/pe_digest.c char *digest = create_unfencing_summary(rsc->id, agent, digest 597 lib/pengine/pe_digest.c rsc->id, pe__node_name(node), digest); digest 598 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 728 tools/cibadmin.c char *digest = NULL; digest 737 tools/cibadmin.c digest = calculate_on_disk_digest(input); digest 739 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 740 tools/cibadmin.c free(digest); digest 744 tools/cibadmin.c char *digest = NULL; digest 755 tools/cibadmin.c digest = calculate_xml_versioned_digest(input, FALSE, TRUE, version); digest 757 tools/cibadmin.c fprintf(stdout, "%s\n", pcmk__s(digest, "<null>")); digest 758 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);