Searched refs:TPM2_ALG_SHA1 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 36 TPM2_ALG_SHA1 = 0x0004 variable 188 TPM2_ALG_SHA1: SHA1_DIGEST_SIZE, 193 TPM2_ALG_SHA1: hashlib.sha1, 198 "sha1": TPM2_ALG_SHA1, 406 def read_pcr(self, i, bank_alg = TPM2_ALG_SHA1): 438 def extend_pcr(self, i, dig, bank_alg = TPM2_ALG_SHA1): 474 def __calc_pcr_digest(self, pcrs, bank_alg = TPM2_ALG_SHA1, 475 digest_alg = TPM2_ALG_SHA1): 488 name_alg = TPM2_ALG_SHA1): 567 name_alg=TPM2_ALG_SHA1, [all …]
|
H A D | tpm2_tests.py | 146 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)
|
/openbmc/u-boot/include/ |
H A D | tpm-v2.h | 380 TPM2_ALG_SHA1 = 0x04, enumerator 394 case TPM2_ALG_SHA1: in tpm2_algorithm_to_len()
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 27 TPM2_ALG_SHA1, enumerator 94 case TPM2_ALG_SHA1: in tcg2_create_digest() 219 case TPM2_ALG_SHA1: in tcg2_log_init() 322 case TPM2_ALG_SHA1: in tcg2_replay_eventlog() 435 case TPM2_ALG_SHA1: in tcg2_log_parse()
|