Home
last modified time | relevance | path

Searched refs:TPM2_RH_OWNER (Results 1 – 25 of 35) sorted by relevance

12

/external/tpm2-tss/test/integration/
Dsapi-hierarchy-change-auth.int.c42 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0); in test_owner_auth()
53 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
61 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
71 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
83 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
91 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
96 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
111 rval = Tss2_Sys_HierarchyChangeAuth( sapi_context, TPM2_RH_OWNER, &sessionsData, &newAuth, 0 ); in test_owner_auth()
Dsapi-policy-authorizeNV.int.c98 TPM2_RH_OWNER, in test_invoke()
122 TPM2_RH_OWNER, in test_invoke()
137 TPM2_RH_OWNER, in test_invoke()
194 TPM2_RH_OWNER, in test_invoke()
235 TPM2_RH_OWNER, in test_invoke()
293 TPM2_RH_OWNER, in test_invoke()
Dsapi-evict-ctrl.int.c42 TPM2_RH_OWNER, in test_invoke()
54 TPM2_RH_OWNER, in test_invoke()
Dsapi-policy-template.int.c156 TPM2_RH_OWNER, in test_invoke()
174 TPM2_RH_OWNER, in test_invoke()
217 TPM2_RH_OWNER, in test_invoke()
Desys-hmacsequencestart.int.c175 TPM2_RH_OWNER, in test_esys_hmacsequencestart()
239 TPM2_RH_OWNER, in test_esys_hmacsequencestart()
Desys-hash.int.c40 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_esys_hash()
Desys-tr-getName-hierarchy.int.c41 r = Tss2_MU_TPM2_HANDLE_Marshal(TPM2_RH_OWNER, &name1.name[0], in test_esys_tr_getName_hierarchy()
Dsapi-param-encrypt-decrypt.int.c75 rc = Tss2_Sys_NV_DefineSpace(sapi_context, TPM2_RH_OWNER, &req_auth, in test_invoke()
280 rc2 = Tss2_Sys_NV_UndefineSpace(sapi_context, TPM2_RH_OWNER, in test_invoke()
Desys-policy-ticket.int.c234 TPM2_RH_OWNER, in test_esys_policy_ticket()
243 .hierarchy = TPM2_RH_OWNER, in test_esys_policy_ticket()
Desys-hashsequencestart.int.c115 TPM2_RH_OWNER, in test_esys_hashsequencestart()
Dsapi-create-loaded.int.c76 TPM2_RH_OWNER, in test_invoke()
Desys-hierarchy-control.int.c44 TPMI_RH_ENABLES enable = TPM2_RH_OWNER; in test_esys_hierarchy_control()
Dsapi-command-cancel.int.c94 TPM2_RH_OWNER, in test_invoke()
Desys-verify-signature.int.c150 .hierarchy = TPM2_RH_OWNER, in test_esys_verify_signature()
Desys-policy-authorize.int.c160 .hierarchy = TPM2_RH_OWNER, in test_esys_policy_authorize()
Dsapi-asymmetric-encrypt-decrypt.int.c94 …rc = Tss2_Sys_CreatePrimary(sapi_context, TPM2_RH_OWNER, &sessions_data, &in_sensitive, &in_public… in test_invoke()
Desys-make-credential.int.c301 TPM2_RH_OWNER, in test_esys_make_credential()
/external/tpm2-tss/test/unit/
DTPMT-marshal.c37 tkt.hierarchy = TPM2_RH_OWNER; in tpmt_marshal_success()
51 assert_int_equal (*ptr2, HOST_TO_BE_32(TPM2_RH_OWNER)); in tpmt_marshal_success()
90 tkt.hierarchy = TPM2_RH_OWNER; in tpmt_marshal_success_offset()
104 assert_int_equal (*ptr2, HOST_TO_BE_32(TPM2_RH_OWNER)); in tpmt_marshal_success_offset()
140 tkt.hierarchy = TPM2_RH_OWNER; in tpmt_marshal_buffer_null_with_offset()
190 tkt.hierarchy = TPM2_RH_OWNER; in tpmt_marshal_buffer_size_lt_data_nad_lt_offset()
232 *ptr2 = HOST_TO_BE_32(TPM2_RH_OWNER); in tpmt_unmarshal_success()
242 assert_int_equal (tkt.hierarchy, TPM2_RH_OWNER); in tpmt_unmarshal_success()
323 *ptr2 = HOST_TO_BE_32(TPM2_RH_OWNER); in tpmt_unmarshal_dest_null_offset_valid()
367 *ptr2 = HOST_TO_BE_32(TPM2_RH_OWNER); in tpmt_unmarshal_buffer_size_lt_data_nad_lt_offset()
Desys-tcti-rcs.c145 #define DUMMY_TPMT_TK_AUTH { .tag = TPM2_ST_AUTH_SIGNED , .hierarchy = TPM2_RH_OWNER, .digest = {0}…
147 #define DUMMY_TPMT_TK_CREATION { .tag = TPM2_ST_CREATION , .hierarchy = TPM2_RH_OWNER, .digest = {0…
149 #define DUMMY_TPMT_TK_VERIFIED { .tag = TPM2_ST_VERIFIED , .hierarchy = TPM2_RH_OWNER, .digest = {0…
151 #define DUMMY_TPMT_TK_HASHCHECK { .tag = TPM2_ST_HASHCHECK , .hierarchy = TPM2_RH_OWNER, .digest = …
306 objectHandleNode->rsrc.handle = TPM2_RH_OWNER; in setup()
543 NULL, &inPublic, TPM2_RH_OWNER, &objectHandle_handle); in test_LoadExternal()
922 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_Hash()
1056 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_SequenceComplete()
1944 TPMI_RH_ENABLES enable = TPM2_RH_OWNER; in test_HierarchyControl()
2220 context.hierarchy = TPM2_RH_OWNER; in test_ContextLoad()
Desys-tpm-rcs.c145 #define DUMMY_TPMT_TK_AUTH { .tag = TPM2_ST_AUTH_SIGNED , .hierarchy = TPM2_RH_OWNER, .digest = {0}…
147 #define DUMMY_TPMT_TK_CREATION { .tag = TPM2_ST_CREATION , .hierarchy = TPM2_RH_OWNER, .digest = {0…
149 #define DUMMY_TPMT_TK_VERIFIED { .tag = TPM2_ST_VERIFIED , .hierarchy = TPM2_RH_OWNER, .digest = {0…
151 #define DUMMY_TPMT_TK_HASHCHECK { .tag = TPM2_ST_HASHCHECK , .hierarchy = TPM2_RH_OWNER, .digest = …
286 objectHandleNode->rsrc.handle = TPM2_RH_OWNER; in setup()
523 NULL, &inPublic, TPM2_RH_OWNER, &objectHandle_handle); in test_LoadExternal()
902 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_Hash()
1036 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_SequenceComplete()
1924 TPMI_RH_ENABLES enable = TPM2_RH_OWNER; in test_HierarchyControl()
2200 context.hierarchy = TPM2_RH_OWNER; in test_ContextLoad()
Desys-resubmissions.c145 #define DUMMY_TPMT_TK_AUTH { .tag = TPM2_ST_AUTH_SIGNED , .hierarchy = TPM2_RH_OWNER, .digest = {0}…
147 #define DUMMY_TPMT_TK_CREATION { .tag = TPM2_ST_CREATION , .hierarchy = TPM2_RH_OWNER, .digest = {0…
149 #define DUMMY_TPMT_TK_VERIFIED { .tag = TPM2_ST_VERIFIED , .hierarchy = TPM2_RH_OWNER, .digest = {0…
151 #define DUMMY_TPMT_TK_HASHCHECK { .tag = TPM2_ST_HASHCHECK , .hierarchy = TPM2_RH_OWNER, .digest = …
306 objectHandleNode->rsrc.handle = TPM2_RH_OWNER; in setup()
562 NULL, &inPublic, TPM2_RH_OWNER, &objectHandle_handle); in test_LoadExternal()
975 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_Hash()
1123 TPMI_RH_HIERARCHY hierarchy = TPM2_RH_OWNER; in test_SequenceComplete()
2096 TPMI_RH_ENABLES enable = TPM2_RH_OWNER; in test_HierarchyControl()
2402 context.hierarchy = TPM2_RH_OWNER; in test_ContextLoad()
/external/linux-kselftest/tools/testing/selftests/tpm2/
Dtpm2.py44 TPM2_RH_OWNER = 0x40000001 variable
571 TPM2_RH_OWNER,
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_CreateNv.c297 if (nvCmd->public_templ.hierarchy == TPM2_RH_OWNER) { in Fapi_CreateNv_Finish()
DFapi_ExportKey.c360 TPM2_RH_OWNER); in Fapi_ExportKey_Finish()
DFapi_Delete.c374 TPM2_RH_OWNER); in Fapi_Delete_Finish()

12