Searched refs:hOwnerPolicy (Results 1 – 4 of 4) sorted by relevance
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tsp_own.c | 44 TSS_HPOLICY hOwnerPolicy; in secret_TakeOwnership() local 62 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy))) in secret_TakeOwnership() 69 if ((result = obj_policy_get_mode(hOwnerPolicy, &ownerMode))) in secret_TakeOwnership() 97 if ((result = obj_policy_get_secret(hOwnerPolicy, TR_SECRET_CTX_NEW, in secret_TakeOwnership() 132 if ((result = obj_policy_do_takeowner(hOwnerPolicy, hTPM, hEndorsementPubKey, in secret_TakeOwnership() 154 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_TakeOwnership, hOwnerPolicy, FALSE, in secret_TakeOwnership()
|
H A D | tspi_maint.c | 35 TSS_HPOLICY hOwnerPolicy; in Tspi_TPM_CreateMaintenanceArchive() local 50 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy))) in Tspi_TPM_CreateMaintenanceArchive() 59 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_CreateMaintenanceArchive, hOwnerPolicy, in Tspi_TPM_CreateMaintenanceArchive() 80 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth))) in Tspi_TPM_CreateMaintenanceArchive() 104 TSS_HPOLICY hOwnerPolicy; in Tspi_TPM_KillMaintenanceFeature() local 112 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy))) in Tspi_TPM_KillMaintenanceFeature() 120 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_KillMaintenanceFeature, hOwnerPolicy, in Tspi_TPM_KillMaintenanceFeature() 133 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth))) in Tspi_TPM_KillMaintenanceFeature()
|
H A D | tspi_own.c | 40 TSS_HPOLICY hOwnerPolicy; in Tspi_TPM_TakeOwnership() local 90 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy))) { in Tspi_TPM_TakeOwnership() 94 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &privAuth))) { in Tspi_TPM_TakeOwnership()
|
H A D | tspi_migration.c | 35 TSS_HPOLICY hOwnerPolicy; in Tspi_TPM_AuthorizeMigrationTicket() local 53 if ((result = obj_tpm_get_policy(hTPM, TSS_POLICY_USAGE, &hOwnerPolicy))) in Tspi_TPM_AuthorizeMigrationTicket() 108 if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_AuthorizeMigrationKey, hOwnerPolicy, in Tspi_TPM_AuthorizeMigrationTicket() 130 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth))) { in Tspi_TPM_AuthorizeMigrationTicket()
|