Lines Matching refs:tpm2_supported_algorithms
26 const enum tpm2_algorithms tpm2_supported_algorithms[4] = { enum
86 for (i = 0; i < ARRAY_SIZE(tpm2_supported_algorithms); ++i) { in tcg2_create_digest()
88 tpm2_algorithm_to_mask(tpm2_supported_algorithms[i]); in tcg2_create_digest()
93 switch (tpm2_supported_algorithms[i]) { in tcg2_create_digest()
120 tpm2_supported_algorithms[i]); in tcg2_create_digest()
125 tpm2_supported_algorithms[i]; in tcg2_create_digest()
212 for (i = 0; i < ARRAY_SIZE(tpm2_supported_algorithms); ++i) { in tcg2_log_init()
213 mask = tpm2_algorithm_to_mask(tpm2_supported_algorithms[i]); in tcg2_log_init()
218 switch (tpm2_supported_algorithms[i]) { in tcg2_log_init()
257 for (i = 0; i < ARRAY_SIZE(tpm2_supported_algorithms); ++i) { in tcg2_log_init()
258 mask = tpm2_algorithm_to_mask(tpm2_supported_algorithms[i]); in tcg2_log_init()
263 len = tpm2_algorithm_to_len(tpm2_supported_algorithms[i]); in tcg2_log_init()
267 put_unaligned_le16(tpm2_supported_algorithms[i], in tcg2_log_init()
308 if (count > ARRAY_SIZE(tpm2_supported_algorithms) || in tcg2_replay_eventlog()
411 if (count > ARRAY_SIZE(tpm2_supported_algorithms)) in tcg2_log_parse()
1122 if (pcrs.count > ARRAY_SIZE(tpm2_supported_algorithms) || in tpm2_get_pcr_info()