Home
last modified time | relevance | path

Searched refs:hPolicy (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c182 set_policy_options(TSS_HPOLICY hPolicy, TSS_FLAG mode, char *prompt, in set_policy_options() argument
189 ret = Tspi_Policy_SetSecret(hPolicy, mode, secret_len, secret); in set_policy_options()
196 ret = Tspi_SetAttribData(hPolicy, in set_policy_options()
212 TSS_HPOLICY hPolicy; in set_object_policy() local
215 ret = Tspi_GetPolicyObject(handle, TSS_POLICY_USAGE, &hPolicy); in set_object_policy()
221 return (set_policy_options(hPolicy, mode, prompt, secret_len, secret)); in set_object_policy()
H A Dtpmadm.h47 int set_policy_options(TSS_HPOLICY hPolicy, TSS_FLAG mode, char *prompt,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c934 TSS_HPOLICY hPolicy; in tss_assign_secret_key_policy() local
937 TSS_OBJECT_TYPE_POLICY, policyType, &hPolicy))) { in tss_assign_secret_key_policy()
942 if ((result = Tspi_Policy_AssignToObject(hPolicy, hKey))) { in tss_assign_secret_key_policy()
948 result = Tspi_Policy_SetSecret(hPolicy, TSS_SECRET_MODE_NONE, in tss_assign_secret_key_policy()
951 result = Tspi_Policy_SetSecret(hPolicy, TSS_SECRET_MODE_SHA1, in tss_assign_secret_key_policy()
961 Tspi_Context_CloseObject(hContext, hPolicy); in tss_assign_secret_key_policy()
1011 TSS_HPOLICY hPolicy; in token_load_srk() local
1031 &hPolicy))) { in token_load_srk()
1036 if ((result = Tspi_Policy_SetSecret(hPolicy, TSS_SECRET_MODE_SHA1, in token_load_srk()
1213 TSS_HPOLICY hPolicy; in tss_change_auth() local
[all …]