Home
last modified time | relevance | path

Searched refs:tpm (Results 1 – 25 of 42) sorted by relevance

12

/u-boot/drivers/tpm/
A Dtpm2_tis_sandbox.c181 strncmp(pw, tpm->pw[*hierarchy], tpm->pw_sz[*hierarchy])) { in sandbox_tpm2_check_session()
195 if (!tpm->init_done || tpm->startup_done) in sandbox_tpm2_check_readyness()
200 if (!tpm->init_done || !tpm->startup_done) in sandbox_tpm2_check_readyness()
205 if (!tpm->startup_done) in sandbox_tpm2_check_readyness()
210 if (!tpm->tests_done) in sandbox_tpm2_check_readyness()
337 tpm->tests_done = true; in sandbox_tpm2_xfer()
349 tpm->pw_sz[i] = 0; in sandbox_tpm2_xfer()
359 tpm->pcr[i][j] = 0; in sandbox_tpm2_xfer()
581 if (tpm->init_done) in sandbox_tpm2_open()
584 tpm->init_done = true; in sandbox_tpm2_open()
[all …]
A DKconfig32 The usual tpm operations and the 'tpm' command can be used to talk
41 The usual tpm operations and the 'tpm' command can be used to talk
65 The usual tpm operations and the 'tpm' command can be used to talk
76 available using the 'tpm' command, too.
83 The usual tpm operations and the 'tpm' command can be used to talk
92 The usual tpm operations and the 'tpm' command can be used to talk
101 The functionality is available via the 'tpm' command as well.
109 The functionality is available via the 'tpm' command as well.
116 The functionality is available via the 'tpm' command as well.
154 The usual TPM operations and the 'tpm' command can be used to talk
A Dtpm_tis_sandbox.c183 struct tpm_state *tpm = dev_get_priv(dev); in sandbox_tpm_xfer() local
253 memcpy(&tpm->nvdata[seq].data, sendbuf + 22, length); in sandbox_tpm_xfer()
254 tpm->nvdata[seq].present = true; in sandbox_tpm_xfer()
283 } else if (!tpm->nvdata[seq].present) { in sandbox_tpm_xfer()
288 sizeof(uint32_t), &tpm->nvdata[seq].data, in sandbox_tpm_xfer()
329 struct tpm_state *tpm = dev_get_priv(dev); in sandbox_tpm_probe() local
331 memcpy(tpm, &g_state, sizeof(*tpm)); in sandbox_tpm_probe()
A DMakefile4 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-uclass.o
A Dtpm-uclass.c137 UCLASS_DRIVER(tpm) = {
/u-boot/board/gdsys/a38x/
A Dhre.c110 err = tpm_get_capability(tpm, TPM_CAP_NV_INDEX, index, in get_tpm_nv_size()
165 err = tpm_get_pub_key_oiap(tpm, key_handles[i], auth, buf, in find_key()
185 static int read_common_data(struct udevice *tpm) in read_common_data() argument
192 if (get_tpm_nv_size(tpm, NV_COMMON_DATA_INDEX, &size) || in read_common_data()
195 err = tpm_nv_read_value(tpm, NV_COMMON_DATA_INDEX, in read_common_data()
273 hre_tpm_err = tpm_pcr_read(tpm, HREG_IDX(spec), in access_hreg()
279 read_common_data(tpm); in access_hreg()
409 src_reg = access_hreg(tpm, src_spec, HREG_RD); in hre_execute_op()
412 dst_reg = access_hreg(tpm, dst_spec, in hre_execute_op()
477 hre_tpm_err = tpm_extend(tpm, HREG_IDX(dst_spec), in hre_execute_op()
[all …]
A Dcontrolcenterdc.c284 struct udevice *tpm; in last_stage_init() local
290 ret = get_tpm(&tpm); in last_stage_init()
291 if (ret || tpm_init(tpm) || tpm_startup(tpm, TPM_ST_CLEAR) || in last_stage_init()
292 tpm_continue_self_test(tpm)) { in last_stage_init()
298 flush_keys(tpm); in last_stage_init()
299 load_and_run_keyprog(tpm); in last_stage_init()
A Dkeyprogram.h10 int load_and_run_keyprog(struct udevice *tpm);
11 int flush_keys(struct udevice *tpm);
A Dkeyprogram.c17 int flush_keys(struct udevice *tpm) in flush_keys() argument
26 err = tpm_get_capability(tpm, TPM_CAP_HANDLE, TPM_RT_KEY, buf, in flush_keys()
33 err = tpm_flush_specific(tpm, get_unaligned_be32(ptr), in flush_keys()
128 int load_and_run_keyprog(struct udevice *tpm) in load_and_run_keyprog() argument
151 if (hre_run_program(tpm, prog->code, prog->code_size)) { in load_and_run_keyprog()
A Dhre.h35 int hre_run_program(struct udevice *tpm, const uint8_t *code, size_t code_size);
/u-boot/board/gdsys/p1022/
A Dcontrolcenterd-id.c517 read_common_data(tpm); in access_hreg()
656 dst_reg = access_hreg(tpm, dst_spec, in hre_execute_op()
967 if (tpm_continue_self_test(tpm)) in first_stage_actions()
970 tpm_continue_self_test(tpm); in first_stage_actions()
1001 struct udevice *tpm; in first_stage_init() local
1005 ret = get_tpm(&tpm); in first_stage_init()
1006 if (ret || tpm_init(tpm) || tpm_startup(tpm, TPM_ST_CLEAR)) in first_stage_init()
1008 ret = first_stage_actions(tpm); in first_stage_init()
1056 struct udevice *tpm; in second_stage_init() local
1061 ret = get_tpm(&tpm); in second_stage_init()
[all …]
/u-boot/board/gdsys/mpc8308/
A Dgazerbeam.c130 struct udevice *tpm; in last_stage_init() local
147 ret = get_tpm(&tpm); in last_stage_init()
148 if (ret || tpm_init(tpm) || tpm_startup(tpm, TPM_ST_CLEAR) || in last_stage_init()
149 tpm_continue_self_test(tpm)) { in last_stage_init()
/u-boot/doc/device-tree-bindings/tpm2/
A Dsandbox.txt9 tpm {
A Dtis-tpm2-spi.txt14 tpm@1 {
/u-boot/lib/
A DMakefile53 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-common.o
56 obj-$(CONFIG_TPM_V1) += tpm-v1.o
57 obj-$(CONFIG_TPM_V2) += tpm-v2.o
/u-boot/doc/device-tree-bindings/interrupt-controller/
A Dintel,acpi-gpe.txt25 tpm@50 {
/u-boot/doc/device-tree-bindings/gpio/
A Dintel,apl-gpio.txt46 tpm@50 {
/u-boot/arch/arm/dts/
A Drk3399-gru-bob.dts84 tpm {
A Drk3399-gru-kevin.dts188 tpm: tpm@20 { label
A Drk3288-veyron.dtsi465 tpm: tpm@20 { label
797 tpm {
798 tpm_int_h: tpm-int-h {
/u-boot/arch/x86/dts/
A Dchromebox_panther.dts84 tpm {
/u-boot/cmd/
A DMakefile152 obj-$(CONFIG_CMD_TPM) += tpm-common.o
153 obj-$(CONFIG_CMD_TPM_V1) += tpm-v1.o
155 obj-$(CONFIG_CMD_TPM_V2) += tpm-v2.o
/u-boot/doc/usage/
A Dqfw.rst53 etc/tpm/log
/u-boot/drivers/
A DKconfig125 source "drivers/tpm/Kconfig"
/u-boot/arch/sandbox/dts/
A Dsandbox.dtsi284 tpm {
285 compatible = "google,sandbox-tpm";

Completed in 43 milliseconds

12