Home
last modified time | relevance | path

Searched refs:TPM2_ALG_SHA256 (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py39 TPM2_ALG_SHA256 = 0x000B variable
189 TPM2_ALG_SHA256: SHA256_DIGEST_SIZE,
194 TPM2_ALG_SHA256: hashlib.sha256
199 "sha256": TPM2_ALG_SHA256,
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_sandbox.c433 put_unaligned_be16(TPM2_ALG_SHA256, recv); in sandbox_tpm2_xfer()
506 if (alg != TPM2_ALG_SHA256) { in sandbox_tpm2_xfer()
591 if (alg != TPM2_ALG_SHA256) { in sandbox_tpm2_xfer()
/openbmc/u-boot/lib/
H A Dtpm-v2.c28 TPM2_ALG_SHA256, enumerator
100 case TPM2_ALG_SHA256: in tcg2_create_digest()
220 case TPM2_ALG_SHA256: in tcg2_log_init()
323 case TPM2_ALG_SHA256: in tcg2_replay_eventlog()
436 case TPM2_ALG_SHA256: in tcg2_log_parse()
830 tpm_u16(TPM2_ALG_SHA256), in tpm2_nv_define_space()
1359 TPM2_ALG_SHA256, in tpm2_pcr_setauthpolicy()
H A Dtpm_api.c156 return tpm2_pcr_extend(dev, index, TPM2_ALG_SHA256, in_digest, in tpm_pcr_extend()
/openbmc/u-boot/cmd/
H A Dtpm-v2.c119 rc = tpm2_pcr_extend(dev, index, TPM2_ALG_SHA256, digest, in do_tpm2_pcr_extend()
154 rc = tpm2_pcr_read(dev, index, priv->pcr_select_min, TPM2_ALG_SHA256, in do_tpm_pcr_read()
/openbmc/u-boot/include/
H A Dtpm-v2.h382 TPM2_ALG_SHA256 = 0x0B, enumerator
396 case TPM2_ALG_SHA256: in tpm2_algorithm_to_len()