Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c181 set_policy_options(TSS_HPOLICY hPolicy, TSS_FLAG mode, char *prompt, in set_policy_options() argument
188 ret = Tspi_Policy_SetSecret(hPolicy, mode, secret_len, secret); in set_policy_options()
195 ret = Tspi_SetAttribData(hPolicy, in set_policy_options()
211 TSS_HPOLICY hPolicy; in set_object_policy() local
214 ret = Tspi_GetPolicyObject(handle, TSS_POLICY_USAGE, &hPolicy); in set_object_policy()
220 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,
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c930 TSS_HPOLICY hPolicy; in tss_assign_secret_key_policy() local
933 TSS_OBJECT_TYPE_POLICY, policyType, &hPolicy))) { in tss_assign_secret_key_policy()
938 if ((result = Tspi_Policy_AssignToObject(hPolicy, hKey))) { in tss_assign_secret_key_policy()
944 result = Tspi_Policy_SetSecret(hPolicy, TSS_SECRET_MODE_NONE, in tss_assign_secret_key_policy()
947 result = Tspi_Policy_SetSecret(hPolicy, TSS_SECRET_MODE_SHA1, in tss_assign_secret_key_policy()
957 Tspi_Context_CloseObject(hContext, hPolicy); in tss_assign_secret_key_policy()
1007 TSS_HPOLICY hPolicy; in token_load_srk() local
1027 &hPolicy))) { in token_load_srk()
1032 if ((result = Tspi_Policy_SetSecret(hPolicy, TSS_SECRET_MODE_SHA1, in token_load_srk()
1209 TSS_HPOLICY hPolicy; in tss_change_auth() local
[all …]