Searched refs:tpm2_hash_map (Results 1 – 1 of 1) sorted by relevance
35 static struct tpm2_hash tpm2_hash_map[] = { variable265 for (j = 0; j < ARRAY_SIZE(tpm2_hash_map); j++) { in tpm2_pcr_extend()266 if (digests[i].alg_id != tpm2_hash_map[j].tpm_id) in tpm2_pcr_extend()271 hash_digest_size[tpm2_hash_map[j].crypto_id]); in tpm2_pcr_extend()430 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_seal_trusted()431 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()432 hash = tpm2_hash_map[i].tpm_id; in tpm2_seal_trusted()437 if (i == ARRAY_SIZE(tpm2_hash_map)) in tpm2_seal_trusted()