Home
last modified time | relevance | path

Searched refs:digest_values (Results 1 – 4 of 4) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/
Difapi_policy.h23 TPML_DIGEST_VALUES *digest_values,
Difapi_policy_callbacks.c733 TPML_DIGEST_VALUES *digest_values; in compare_policy_digest() local
737 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()
Difapi_policy_execute.c143 get_policy_digest_idx(TPML_DIGEST_VALUES *digest_values, TPMI_ALG_HASH hashAlg, in get_policy_digest_idx() argument
147 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()
/external/tpm2-tss/doc/
Ddoxygen.dox2011 \fn TSS2_RC get_policy_digest_idx(TPML_DIGEST_VALUES *digest_values, TPMI_ALG_HASH hashAlg,