Home
last modified time | relevance | path

Searched refs:TPM2_SE_POLICY (Results 1 – 20 of 20) sorted by relevance

/external/tpm2-tss/test/integration/
Dsapi-hmac-auth.int.c223 if (session_type == TPM2_SE_POLICY) { in nv_rw_with_session()
298 if (session_type == TPM2_SE_POLICY) { in nv_rw_with_session()
426 rc = nv_rw_with_session (sys_ctx, &authPolicy, nvAttributes, TPM2_SE_POLICY); in test_invoke()
Desys-policy-nv-changeauth.int.c156 TPM2_SE_POLICY, &policySymmetric, TPM2_ALG_SHA1, in test_esys_policy_nv_changeauth()
215 TPM2_SE_POLICY, &policySymmetric, TPM2_ALG_SHA1, in test_esys_policy_nv_changeauth()
Dsapi-start-auth-session.int.c52 TPM2_SE_POLICY, /* sessionType */ in test_invoke()
Desys-policy-ticket.int.c190 TPM2_SE_POLICY, &symmetric, TPM2_ALG_SHA1, in test_esys_policy_ticket()
285 TPM2_SE_POLICY, &symmetric, TPM2_ALG_SHA1, in test_esys_policy_ticket()
Dsapi-nv-readwrite.int.c60 TPM2_SE_POLICY, in create_policy_session()
Desys-policy-nv-undefine-special.int.c174 TPM2_SE_POLICY, &policySymmetric, TPM2_ALG_SHA1, in test_esys_policy_nv_undefine_special()
Dsapi-nv-policy-locality.int.c64 TPM2_SE_POLICY, in create_policy_session()
Desys-policy-password.int.c192 TPM2_SE_POLICY, &policySymmetric, TPM2_ALG_SHA1, in test_esys_policy_password()
Desys-create-policy-auth.int.c187 NULL, TPM2_SE_POLICY, &policyAlgo, in test_esys_create_policy_auth()
Dsapi-policy-template.int.c67 TPM2_SE_POLICY, /* sessionType */ in test_invoke()
Dsapi-param-encrypt-decrypt.int.c88 TPM2_RH_NULL, 0, &nonce_caller, 0, TPM2_SE_POLICY, in test_invoke()
Dsapi-policy-authorizeNV.int.c58 TPM2_SE_POLICY, /* sessionType */ in test_invoke()
Desys-duplicate.int.c350 TPM2_SE_POLICY, &policySymmetric, TPM2_ALG_SHA1, in test_esys_duplicate()
Desys-import.int.c351 TPM2_SE_POLICY, &policySymmetric, TPM2_ALG_SHA1, in test_esys_import()
/external/linux-kselftest/tools/testing/selftests/tpm2/
Dtpm2_tests.py47 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
96 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
113 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
Dtpm2.py32 TPM2_SE_POLICY = 0x01 variable
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c369 … TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encryptedSalt, TPM2_SE_POLICY, &symmetric, T… in TestStartAuthSession()
386 … TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encryptedSalt, TPM2_SE_POLICY, &symmetric, T… in TestStartAuthSession()
401 … TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encryptedSalt, TPM2_SE_POLICY, &symmetric, T… in TestStartAuthSession()
406 … TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encryptedSalt, TPM2_SE_POLICY, &symmetric, T… in TestStartAuthSession()
418 … TPM2_RH_NULL, 0, TPM2_RH_PLATFORM, 0, &nonceCaller, &encryptedSalt, TPM2_SE_POLICY, &symmetric, T… in TestStartAuthSession()
890 …ULL, 0, &nonceCaller, &encryptedSalt, trialSession ? TPM2_SE_TRIAL : TPM2_SE_POLICY , &symmetric, … in BuildPolicy()
937 0, TPM2_RH_NULL, 0, &nonceCaller, &encryptedSalt, TPM2_SE_POLICY, in CreateNVIndex()
/external/tpm2-tss/src/tss2-fapi/
Difapi_policyutil_execute.c107 TPM2_SE_POLICY, in create_session()
/external/tpm2-tss/src/tss2-esys/
Desys_iutil.c989 session->rsrc.misc.rsrc_session.sessionType != TPM2_SE_POLICY) in iesys_compute_session_value()
1010 if (session->rsrc.misc.rsrc_session.sessionType == TPM2_SE_POLICY && in iesys_compute_session_value()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h449 #define TPM2_SE_POLICY ((TPM2_SE) 0x01) macro