Searched refs:hOwnerPolicy (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_own.c44 TSS_HPOLICY hOwnerPolicy; local
62 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy)))
69 if ((result = obj_policy_get_mode(hOwnerPolicy, &ownerMode)))
97 if ((result = obj_policy_get_secret(hOwnerPolicy, TR_SECRET_CTX_NEW,
132 if ((result = obj_policy_do_takeowner(hOwnerPolicy, hTPM, hEndorsementPubKey,
154 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_TakeOwnership, hOwnerPolicy, FALSE,
H A Dtspi_maint.c35 TSS_HPOLICY hOwnerPolicy; local
50 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy)))
59 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_CreateMaintenanceArchive, hOwnerPolicy,
80 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth)))
104 TSS_HPOLICY hOwnerPolicy; local
112 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy)))
120 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_KillMaintenanceFeature, hOwnerPolicy,
133 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth)))
H A Dtspi_own.c40 TSS_HPOLICY hOwnerPolicy; local
90 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy))) {
94 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &privAuth))) {
H A Dtspi_migration.c35 TSS_HPOLICY hOwnerPolicy; local
53 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy)))
108 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_AuthorizeMigrationKey, hOwnerPolicy,
130 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth))) {

Completed in 90 milliseconds