Searched defs:hPolicy (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | main.c | 181 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));
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 930 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 59 milliseconds