/freebsd/usr.sbin/bhyve/ |
H A D | tpm_emul_passthru.c | 34 struct tpm_passthru *tpm; in tpm_passthru_init() local 37 tpm = calloc(1, sizeof(struct tpm_passthru)); in tpm_passthru_init() 38 if (tpm == NULL) { in tpm_passthru_init() 44 tpm->fd = open(path, O_RDWR); in tpm_passthru_init() 45 if (tpm->fd < 0) { in tpm_passthru_init() 50 *sc = tpm; in tpm_passthru_init() 59 struct tpm_passthru *tpm; in tpm_passthru_execute_cmd() local 67 tpm = sc; in tpm_passthru_execute_cmd() 69 len = write(tpm->fd, cmd, cmd_size); in tpm_passthru_execute_cmd() 76 len = read(tpm->fd, rsp, rsp_size); in tpm_passthru_execute_cmd() [all …]
|
H A D | tpm_emul_swtpm.c | 38 struct tpm_swtpm *tpm; in tpm_swtpm_init() local 42 tpm = calloc(1, sizeof (struct tpm_swtpm)); in tpm_swtpm_init() 43 if (tpm == NULL) { in tpm_swtpm_init() 54 tpm->fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in tpm_swtpm_init() 55 if (tpm->fd < 0) { in tpm_swtpm_init() 64 if (connect(tpm->fd, (struct sockaddr *)&tpm_addr, sizeof (tpm_addr)) == in tpm_swtpm_init() 71 *sc = tpm; in tpm_swtpm_init() 80 struct tpm_swtpm *tpm; in tpm_swtpm_execute_cmd() local 88 tpm = sc; in tpm_swtpm_execute_cmd() 90 len = send(tpm->fd, cmd, cmd_size, MSG_NOSIGNAL|MSG_DONTWAIT); in tpm_swtpm_execute_cmd() [all …]
|
H A D | tpm_device.c | 46 const struct tpm_device *const tpm = acpi_device_get_softc(dev); in tpm_build_acpi_table() local 48 if (tpm->intf->build_acpi_table == NULL) { in tpm_build_acpi_table() 52 return (tpm->intf->build_acpi_table(tpm->intf_sc, tpm->vm_ctx)); in tpm_build_acpi_table() 60 const struct tpm_device *const tpm = acpi_device_get_softc(dev); in tpm_write_dsdt() local 61 const struct tpm_ppi *const ppi = tpm->ppi; in tpm_write_dsdt() 70 error = ppi->write_dsdt_regions(tpm->ppi_sc); in tpm_write_dsdt() 89 error = ppi->write_dsdt_dsm(tpm->ppi_sc); in tpm_write_dsdt()
|
/freebsd/sys/modules/tpm/ |
H A D | Makefile | 1 .PATH: ${SRCTOP}/sys/dev/tpm 3 KMOD= tpm 10 SRCS+= tpm.c
|
/freebsd/sys/contrib/device-tree/Bindings/security/tpm/ |
H A D | tpm-i2c.txt | 6 - label : human readable string describing the device, eg. "tpm" 20 tpm@57 { 22 label = "tpm";
|
H A D | tpm_tis_mmio.txt | 13 "tcg,tpm-tis-mmio". Valid chip strings are: 21 compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
|
H A D | google,cr50.txt | 14 tpm@0 {
|
/freebsd/sys/conf/ |
H A D | files.i386 |
|
H A D | files.x86 | 321 dev/tpm/tpm.c optional tpm 322 dev/tpm/tpm_acpi.c optional tpm acpi 323 dev/tpm/tpm_isa.c optional tpm isa
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | am335x-moxa-uc-8100-me-t.dts | 74 tpm: tpm@20 { label
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | functions.txt | 898 File '/libfido2/src/tpm.c': 902 tpm.c:check_es256_pubarea 19 0 100.00% 30 0 100.00% 903 tpm.c:bswap_es256_pubarea 1 0 100.00% 12 0 100.00% 904 tpm.c:check_rs256_pubarea 17 0 100.00% 28 0 100.00% 905 tpm.c:bswap_rs256_pubarea 1 0 100.00% 10 0 100.00% 906 tpm.c:check_sha1_certinfo 15 0 100.00% 38 0 100.00% 907 tpm.c:get_signed_sha1 17 0 100.00% 19 0 100.00% 908 tpm.c:get_signed_name 7 0 100.00% 10 0 100.00% 909 tpm.c:bswap_sha1_certinfo 1 0 100.00% 8 0 100.00%
|
H A D | summary.txt | 49 src/tpm.c 103 0 100.00% 9 0 100.00% 194 0 100.00%
|
/freebsd/sys/dev/tpm/ |
H A D | tpm_if.m | 29 #include <dev/tpm/tpm20.h> 31 INTERFACE tpm;
|
H A D | tpm_acpi.c | 78 DRIVER_MODULE(tpm, acpi, tpm_acpi_driver, 0, 0);
|
H A D | tpm_isa.c | 91 DRIVER_MODULE(tpm, isa, tpm_driver, 0, 0);
|
/freebsd/tools/kerneldoc/subsys/ |
H A D | Doxyfile-dev_tpm | 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/tpm/ \
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8mp-msc-sm2s-14N0600E.dtsi | 57 tpm-int-hog {
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288-veyron.dtsi | 327 tpm: tpm@20 { label 586 tpm { 587 tpm_int_h: tpm-int-h {
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-opp-tacoma.dts | 127 /*P0-P7*/ "","","","","","bmc-tpm-reset","","", 458 tpm: tpm@2e { label 459 compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
|
H A D | aspeed-bmc-ibm-bonnell.dts | 148 /*R0-R7*/ "bmc-tpm-reset","power-chassis-control","power-chassis-good","","","","","", 461 tpm@2e { 462 compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3399-gru-kevin.dts | 189 tpm: tpm@20 { label
|
H A D | rk3399-gru-bob.dts | 73 tpm@0 { 85 tpm {
|
/freebsd/lib/libfido2/ |
H A D | Makefile | 40 SRCS+= tpm.c
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sc7280-idp-ec-h1.dtsi | 71 cr50: tpm@0 {
|
/freebsd/sys/contrib/device-tree/src/mips/img/ |
H A D | pistachio_marduk.dts | 151 tpm@20 {
|