Lines Matching refs:hash_alg
57 u16 l = tpm2_algorithm_to_len(digest_list->digests[i].hash_alg); in tcg2_event_get_size()
124 digest_list->digests[digest_list->count].hash_alg = in tcg2_create_digest()
153 u16 hash_alg = digest_list->digests[i].hash_alg; in tcg2_log_append() local
155 len = tpm2_algorithm_to_len(hash_alg); in tcg2_log_append()
159 pos += offsetof(struct tpmt_ha, hash_alg); in tcg2_log_append()
160 put_unaligned_le16(hash_alg, log + pos); in tcg2_log_append()
315 pos += offsetof(struct tpmt_ha, hash_alg); in tcg2_replay_eventlog()
333 if (algo != digest_list->digests[i].hash_alg || in tcg2_replay_eventlog()
442 digest_list.digests[digest_list.count++].hash_alg = algo; in tcg2_log_parse()
461 len = tpm2_algorithm_to_len(digest_list.digests[i].hash_alg); in tcg2_log_parse()
486 u32 alg = digest_list->digests[i].hash_alg; in tcg2_pcr_extend()
513 u32 alg = digest_list->digests[i].hash_alg; in tcg2_pcr_read()