Home
last modified time | relevance | path

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

1234

/freebsd/usr.sbin/bhyve/
H A Dtpm_emul_passthru.c34 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 Dtpm_emul_swtpm.c38 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 Dtpm_device.c46 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 DMakefile1 .PATH: ${SRCTOP}/sys/dev/tpm
3 KMOD= tpm
10 SRCS+= tpm.c
/freebsd/sys/contrib/device-tree/Bindings/security/tpm/
H A Dtpm-i2c.txt6 - label : human readable string describing the device, eg. "tpm"
20 tpm@57 {
22 label = "tpm";
H A Dtpm_tis_mmio.txt13 "tcg,tpm-tis-mmio". Valid chip strings are:
21 compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
H A Dgoogle,cr50.txt14 tpm@0 {
/freebsd/sys/conf/
H A Dfiles.i386
H A Dfiles.x86321 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 Dam335x-moxa-uc-8100-me-t.dts74 tpm: tpm@20 { label
/freebsd/contrib/libfido2/fuzz/
H A Dfunctions.txt898 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 Dsummary.txt49 src/tpm.c 103 0 100.00% 9 0 100.00% 194 0 100.00%
/freebsd/sys/dev/tpm/
H A Dtpm_if.m29 #include <dev/tpm/tpm20.h>
31 INTERFACE tpm;
H A Dtpm_acpi.c78 DRIVER_MODULE(tpm, acpi, tpm_acpi_driver, 0, 0);
H A Dtpm_isa.c91 DRIVER_MODULE(tpm, isa, tpm_driver, 0, 0);
/freebsd/tools/kerneldoc/subsys/
H A DDoxyfile-dev_tpm12 INPUT = $(DOXYGEN_SRC_PATH)/dev/tpm/ \
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mp-msc-sm2s-14N0600E.dtsi57 tpm-int-hog {
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
H A Drk3288-veyron.dtsi327 tpm: tpm@20 { label
586 tpm {
587 tpm_int_h: tpm-int-h {
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-opp-tacoma.dts127 /*P0-P7*/ "","","","","","bmc-tpm-reset","","",
458 tpm: tpm@2e { label
459 compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
H A Daspeed-bmc-ibm-bonnell.dts148 /*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 Drk3399-gru-kevin.dts189 tpm: tpm@20 { label
H A Drk3399-gru-bob.dts73 tpm@0 {
85 tpm {
/freebsd/lib/libfido2/
H A DMakefile40 SRCS+= tpm.c
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsc7280-idp-ec-h1.dtsi71 cr50: tpm@0 {
/freebsd/sys/contrib/device-tree/src/mips/img/
H A Dpistachio_marduk.dts151 tpm@20 {

1234