Searched refs:digest_values (Results 1 – 4 of 4) sorted by relevance
23 TPML_DIGEST_VALUES *digest_values,
733 TPML_DIGEST_VALUES *digest_values; in compare_policy_digest() local737 digest_values = &policy->policyDigests; in compare_policy_digest()739 if (digest_values) { in compare_policy_digest()740 for (i = 0; i < digest_values->count; i++) { in compare_policy_digest()741 if (digest_values->digests[i].hashAlg == hash_alg) { in compare_policy_digest()742 if (memcmp(&digest_values->digests[i].digest, in compare_policy_digest()
143 get_policy_digest_idx(TPML_DIGEST_VALUES *digest_values, TPMI_ALG_HASH hashAlg, in get_policy_digest_idx() argument147 for (i = 0; i < digest_values->count; i++) { in get_policy_digest_idx()149 if (digest_values->digests[i].hashAlg == hashAlg) { in get_policy_digest_idx()158 digest_values->digests[i].hashAlg = hashAlg; in get_policy_digest_idx()159 memset(&digest_values->digests[i].digest, 0, sizeof(TPMU_HA)); in get_policy_digest_idx()161 digest_values->count += 1; in get_policy_digest_idx()
2011 \fn TSS2_RC get_policy_digest_idx(TPML_DIGEST_VALUES *digest_values, TPMI_ALG_HASH hashAlg,