Home
last modified time | relevance | path

Searched refs:tpm2 (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py7 import tpm2
8 from tpm2 import ProtocolError
15 self.client = tpm2.Client()
31 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
47 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
72 self.assertEqual(rc, tpm2.TPM2_RC_AUTH_FAIL)
75 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
94 ds = tpm2.get_digest_size(tpm2.TPM2_ALG_SHA1)
97 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
114 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
[all …]
H A DMakefile5 TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
/OK3568_Linux_fs/buildroot/package/tpm2-abrmd/
H A DS80tpm2-abrmd30 rm_stale_pidfile /var/run/tpm2-abrmd.pid /usr/sbin/tpm2-abrmd
31 …start-stop-daemon -S -q -o -b -m -p /var/run/tpm2-abrmd.pid -c tss:tss -x /usr/sbin/tpm2-abrmd -- …
35 pidof /usr/sbin/tpm2-abrmd > /var/run/tpm2-abrmd.pid
41 start-stop-daemon -K -q -o -p /var/run/tpm2-abrmd.pid -u tss -x /usr/sbin/tpm2-abrmd || {
45 rm_stale_pidfile /var/run/tpm2-abrmd.pid /usr/sbin/tpm2-abrmd
49 check_required_files /etc/dbus-1/system.d/tpm2-abrmd.conf
55 [ -r /etc/default/tpm2-abrmd ] && . /etc/default/tpm2-abrmd
H A DConfig.in2 bool "tpm2-abrmd"
6 depends on !BR2_STATIC_LIBS # tpm2-tss
21 https://github.com/tpm2-software/tpm2-abrmd
23 comment "tpm2-abrmd needs a toolchain w/ dynamic library, wchar, threads"
H A Dtpm2-abrmd.mk8 TPM2_ABRMD_SITE = https://github.com/tpm2-software/tpm2-abrmd/releases/download/$(TPM2_ABRMD_VERSIO…
11 TPM2_ABRMD_SELINUX_MODULES = tpm2
13 TPM2_ABRMD_DEPENDENCIES = libglib2 tpm2-tss host-pkgconf
H A Dtpm2-abrmd.hash2 sha256 1e587808c6739079d59f124d9c1a0058f8d34dd84f1f656c946667fa0a181c48 tpm2-abrmd-2.3.3.tar.gz
/OK3568_Linux_fs/buildroot/package/tpm2-totp/
H A DConfig.in2 bool "tpm2-totp"
3 depends on !BR2_STATIC_LIBS # tpm2-tss
9 software for TPM 2.0 using the tpm2-tss software stack. Its
15 of in-TPM hmac calculation, the tpm2-totp's secret HMAC keys
19 https://github.com/tpm2-software/tpm2-totp
21 comment "tpm2-totp needs a toolchain w/ dynamic library"
H A Dtpm2-totp.mk8 TPM2_TOTP_SITE = https://github.com/tpm2-software/tpm2-totp/releases/download/v$(TPM2_TOTP_VERSION)
11 TPM2_TOTP_SELINUX_MODULES = tpm2
12 TPM2_TOTP_DEPENDENCIES = libqrencode tpm2-tss host-pkgconf
H A Dtpm2-totp.hash2 sha256 0b2b63cc7ea74f5a6952f2cd689896c08f6b94ee6865f48af609f9a8ac247dc1 tpm2-totp-0.2.1.tar.gz
/OK3568_Linux_fs/buildroot/package/tpm2-tools/
H A Dtpm2-tools.mk8 TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSIO…
11 TPM2_TOOLS_CPE_ID_VENDOR = tpm2-tools_project
12 TPM2_TOOLS_SELINUX_MODULES = tpm2
13 TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf util-linux
H A DConfig.in2 bool "tpm2-tools"
3 depends on !BR2_STATIC_LIBS # tpm2-tss
22 tpm2-abrmd may be needed.
24 https://github.com/tpm2-software/tpm2-tools
26 comment "tpm2-tools needs a glibc or musl toolchain w/ dynamic library, wchar"
H A D0001-configure-make-build-gnu99.patch9 https://github.com/tpm2-software/tpm2-tools/commit/521c3cc506b18c5c84d86e1e90d1daee39849b0c
11 https://github.com/tpm2-software/tpm2-tools/commit/5d0267428e96989afce406d096994ec5091ee107]
H A Dtpm2-tools.hash2 sha256 e2802d4093a24b2c65b1f913d0f4c68eadde9b8fd8a9b7a3b17a6e50765e8350 tpm2-tools-4.3.2.tar.gz
/OK3568_Linux_fs/buildroot/package/tpm2-pkcs11/
H A DConfig.in2 bool "tpm2-pkcs11"
3 depends on !BR2_STATIC_LIBS # tpm2-tss
12 https://github.com/tpm2-software/tpm2-pkcs11
14 comment "tpm2-pkcs11 needs a toolchain w/ dynamic library, threads"
H A Dtpm2-pkcs11.mk8 TPM2_PKCS11_SITE = https://github.com/tpm2-software/tpm2-pkcs11/releases/download/$(TPM2_PKCS11_VER…
11 TPM2_PKCS11_DEPENDENCIES = host-pkgconf libyaml openssl sqlite tpm2-tss
H A Dtpm2-pkcs11.hash2 sha256 078a445ed0e9f5009675a162b4b7b88f3520436cfbc791bb2249f37bd1f475bd tpm2-pkcs11-1.7.0.tar.gz
/OK3568_Linux_fs/kernel/security/keys/trusted-keys/
H A Dtrusted_tpm1.c755 int tpm2; in getoptions() local
757 tpm2 = tpm_is_tpm2(chip); in getoptions()
758 if (tpm2 < 0) in getoptions()
759 return tpm2; in getoptions()
761 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; in getoptions()
813 if (tpm2 && opt->blobauth_len <= sizeof(opt->blobauth)) { in getoptions()
846 if (!tpm2 && i != HASH_ALGO_SHA1) { in getoptions()
853 if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) in getoptions()
862 if (!tpm2) in getoptions()
944 int tpm2; in trusted_options_alloc() local
[all …]
/OK3568_Linux_fs/buildroot/package/ibm-sw-tpm2/
H A DConfig.in2 bool "ibm-sw-tpm2"
4 depends on !BR2_STATIC_LIBS # ibm-sw-tpm2
15 comment "ibm-sw-tpm2 needs a toolchain w/ threads, dynamic library"
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A DMakefile11 tpm-y += tpm2-cmd.o
13 tpm-y += tpm2-space.o
17 tpm-y += eventlog/tpm2.o
/OK3568_Linux_fs/buildroot/package/tpm2-tss/
H A DConfig.in2 bool "tpm2-tss"
34 https://github.com/tpm2-software/tpm2-tss
57 comment "tpm2-tss needs a toolchain w/ dynamic library"
H A Dtpm2-tss.mk8 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
H A D0001-Temporary-fix-for-build-without-C.patch23 1. https://github.com/tpm2-software/tpm2-tss/commit/60c26e4c4faba6ba12469485653e17092b510840
H A Dtpm2-tss.hash2 sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/strongswan/
H A Dstrongswan_5.9.6.bb9 DEPENDS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', ' tpm2-tss', '', d)}"
29 ${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2', '', d)} \
55 PACKAGECONFIG[tpm2] = "--enable-tpm,--disable-tpm,,${PN}-plugin-tpm"
/OK3568_Linux_fs/kernel/tools/testing/selftests/
H A D.gitignore6 tpm2/SpaceTest.log

12