/third_party/uboot/u-boot-2020.01/drivers/tpm/ |
D | tpm2_tis_sandbox.c | 72 struct sandbox_tpm2 *tpm = dev_get_priv(dev); in sandbox_tpm2_check_session() local 165 if (!pw_sz && !tpm->pw_sz[*hierarchy]) in sandbox_tpm2_check_session() 179 if (pw_sz != tpm->pw_sz[*hierarchy] || in sandbox_tpm2_check_session() 180 strncmp(pw, tpm->pw[*hierarchy], tpm->pw_sz[*hierarchy])) { in sandbox_tpm2_check_session() 190 struct sandbox_tpm2 *tpm = dev_get_priv(dev); in sandbox_tpm2_check_readyness() local 194 if (!tpm->init_done || tpm->startup_done) in sandbox_tpm2_check_readyness() 199 if (!tpm->init_done || !tpm->startup_done) in sandbox_tpm2_check_readyness() 204 if (!tpm->startup_done) in sandbox_tpm2_check_readyness() 209 if (!tpm->tests_done) in sandbox_tpm2_check_readyness() 243 struct sandbox_tpm2 *tpm = dev_get_priv(dev); in sandbox_tpm2_extend() local [all …]
|
D | Kconfig | 32 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. 144 The usual TPM operations and the 'tpm' command can be used to talk
|
D | tpm_tis_sandbox.c | 183 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()
|
D | Makefile | 4 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-uclass.o
|
D | tpm-uclass.c | 128 UCLASS_DRIVER(tpm) = {
|
/third_party/uboot/u-boot-2020.01/board/gdsys/a38x/ |
D | hre.c | 102 static int get_tpm_nv_size(struct udevice *tpm, uint32_t index, uint32_t *size) in get_tpm_nv_size() argument 109 err = tpm_get_capability(tpm, TPM_CAP_NV_INDEX, index, in get_tpm_nv_size() 139 static int find_key(struct udevice *tpm, const uint8_t auth[20], in find_key() argument 152 err = tpm_get_capability(tpm, TPM_CAP_HANDLE, TPM_RT_KEY, buf, in find_key() 164 err = tpm_get_pub_key_oiap(tpm, key_handles[i], auth, buf, in find_key() 184 static int read_common_data(struct udevice *tpm) in read_common_data() argument 191 if (get_tpm_nv_size(tpm, NV_COMMON_DATA_INDEX, &size) || in read_common_data() 194 err = tpm_nv_read_value(tpm, NV_COMMON_DATA_INDEX, in read_common_data() 254 static struct h_reg *access_hreg(struct udevice *tpm, uint8_t spec, in access_hreg() argument 272 hre_tpm_err = tpm_pcr_read(tpm, HREG_IDX(spec), in access_hreg() [all …]
|
D | controlcenterdc.c | 279 struct udevice *tpm; in last_stage_init() local 285 ret = get_tpm(&tpm); in last_stage_init() 286 if (ret || tpm_init(tpm) || tpm_startup(tpm, TPM_ST_CLEAR) || in last_stage_init() 287 tpm_continue_self_test(tpm)) { in last_stage_init() 293 flush_keys(tpm); in last_stage_init() 294 load_and_run_keyprog(tpm); in last_stage_init()
|
D | keyprogram.c | 17 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()
|
D | keyprogram.h | 10 int load_and_run_keyprog(struct udevice *tpm); 11 int flush_keys(struct udevice *tpm);
|
D | hre.h | 35 int hre_run_program(struct udevice *tpm, const uint8_t *code, size_t code_size);
|
/third_party/uboot/u-boot-2020.01/board/gdsys/p1022/ |
D | controlcenterd-id.c | 265 static int get_tpm_nv_size(struct udevice *tpm, uint32_t index, uint32_t *size) in get_tpm_nv_size() argument 272 err = tpm_get_capability(tpm, TPM_CAP_NV_INDEX, index, in get_tpm_nv_size() 301 static int find_key(struct udevice *tpm, const uint8_t auth[20], in find_key() argument 314 err = tpm_get_capability(tpm, TPM_CAP_HANDLE, TPM_RT_KEY, buf, in find_key() 326 err = tpm_get_pub_key_oiap(tpm, key_handles[i], auth, buf, in find_key() 345 static int read_common_data(struct udevice *tpm) in read_common_data() argument 352 if (get_tpm_nv_size(tpm, NV_COMMON_DATA_INDEX, &size) || in read_common_data() 355 err = tpm_nv_read_value(tpm, NV_COMMON_DATA_INDEX, in read_common_data() 489 static struct h_reg *access_hreg(struct udevice *tpm, uint8_t spec, in access_hreg() argument 507 hre_tpm_err = tpm_pcr_read(tpm, HREG_IDX(spec), in access_hreg() [all …]
|
/third_party/uboot/u-boot-2020.01/board/gdsys/mpc8308/ |
D | gazerbeam.c | 128 struct udevice *tpm; in last_stage_init() local 143 ret = get_tpm(&tpm); in last_stage_init() 144 if (ret || tpm_init(tpm) || tpm_startup(tpm, TPM_ST_CLEAR) || in last_stage_init() 145 tpm_continue_self_test(tpm)) { in last_stage_init()
|
/third_party/ltp/testscripts/ |
D | tpm_tools.sh | 146 if [ -d $P11DIR/var/lib/opencryptoki/tpm/$USER ] 148 rm -rf $P11DIR/var/lib/opencryptoki/tpm/$USER 170 $LTPROOT/bin/ltp-pan -d 5 -S -a $LTPROOT/results/tpm_tools -n ltp-tpm-tools -l $LTPROOT/results/tpm…
|
/third_party/uboot/u-boot-2020.01/lib/ |
D | Makefile | 58 obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-common.o 61 obj-$(CONFIG_TPM_V1) += tpm-v1.o 62 obj-$(CONFIG_TPM_V2) += tpm-v2.o
|
/third_party/uboot/u-boot-2020.01/doc/device-tree-bindings/tpm2/ |
D | sandbox.txt | 9 tpm {
|
D | tis-tpm2-spi.txt | 14 tpm@1 {
|
/third_party/ltp/testcases/commands/ |
D | Makefile | 27 FILTER_OUT_SUBDIRS := tpm-tools
|
/third_party/gstreamer/gstplugins_bad/tests/check/ |
D | gst-plugins-bad.supp | 2 <suppression for libneon-25.5dfsg5 on tpm's edgy/x86>
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | Makefile | 136 obj-$(CONFIG_CMD_TPM) += tpm-common.o 137 obj-$(CONFIG_CMD_TPM_V1) += tpm-v1.o 139 obj-$(CONFIG_CMD_TPM_V2) += tpm-v2.o
|
/third_party/uboot/u-boot-2020.01/arch/arm/dts/ |
D | rk3399-gru-bob.dts | 74 tpm {
|
D | rk3399-gru-kevin.dts | 170 tpm: tpm@20 { label
|
D | rk3288-veyron.dtsi | 465 tpm: tpm@20 { label 797 tpm { 798 tpm_int_h: tpm-int-h {
|
/third_party/uboot/u-boot-2020.01/arch/x86/dts/ |
D | chromebox_panther.dts | 82 tpm {
|
/third_party/uboot/u-boot-2020.01/arch/sandbox/dts/ |
D | sandbox.dtsi | 229 tpm { 231 compatible = "google,sandbox-tpm";
|
/third_party/uboot/u-boot-2020.01/drivers/ |
D | Kconfig | 119 source "drivers/tpm/Kconfig"
|