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

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

Completed in 61 milliseconds