Home
last modified time | relevance | path

Searched refs:tpm2_algorithm_to_len (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/lib/
H A Dtpm-v2.c57 u16 l = tpm2_algorithm_to_len(digest_list->digests[i].hash_alg); in tcg2_event_get_size()
155 len = tpm2_algorithm_to_len(hash_alg); in tcg2_log_append()
263 len = tpm2_algorithm_to_len(tpm2_supported_algorithms[i]); in tcg2_log_init()
326 len = tpm2_algorithm_to_len(algo); in tcg2_replay_eventlog()
440 if (tpm2_algorithm_to_len(algo) != len) in tcg2_log_parse()
461 len = tpm2_algorithm_to_len(digest_list.digests[i].hash_alg); in tcg2_log_parse()
490 tpm2_algorithm_to_len(alg)); in tcg2_pcr_extend()
517 digest, tpm2_algorithm_to_len(alg), NULL); in tcg2_pcr_read()
/openbmc/u-boot/include/
H A Dtpm-v2.h391 static inline u16 tpm2_algorithm_to_len(enum tpm2_algorithms a) in tpm2_algorithm_to_len() function