Lines Matching refs:phKey

686 	TSS_HKEY *phKey)
698 TSS_KEY_MIGRATABLE | initFlags | key_size, phKey);
705 result = set_public_modulus(hContext, *phKey, size_n, n);
707 Tspi_Context_CloseObject(hContext, *phKey);
708 *phKey = NULL_HKEY;
713 result = Tspi_SetAttribData(*phKey, TSS_TSPATTRIB_KEY_BLOB,
718 Tspi_Context_CloseObject(hContext, *phKey);
719 *phKey = NULL_HKEY;
724 *phKey, NULL);
727 if ((result = Tspi_SetAttribUint32(*phKey,
732 Tspi_Context_CloseObject(hContext, *phKey);
736 if ((result = Tspi_SetAttribUint32(*phKey,
741 Tspi_Context_CloseObject(hContext, *phKey);
746 result = Tspi_Key_WrapKey(*phKey, hParentKey, NULL_HPCRS);
750 Tspi_Context_CloseObject(hContext, *phKey);
751 *phKey = NULL_HKEY;
765 TSS_HKEY hParentKey, TSS_HKEY *phKey)
842 phKey))) {
867 TSS_OBJECT_TYPE_RSAKEY, initFlags, phKey))) {
873 if ((result = set_public_modulus(hContext, *phKey,
875 Tspi_Context_CloseObject(hContext, *phKey);
876 *phKey = NULL_HKEY;
880 TSS_POLICY_MIGRATION, *phKey, NULL);
882 Tspi_Context_CloseObject(hContext, *phKey);
883 *phKey = NULL_HKEY;
887 result = set_legacy_key_params(*phKey);
889 Tspi_Context_CloseObject(hContext, *phKey);
890 *phKey = NULL_HKEY;
898 if ((result = Tspi_GetAttribData(*phKey, TSS_TSPATTRIB_KEY_BLOB,
971 TSS_HKEY *phKey)
982 hParentKey, phKey))) {
992 *phKey, passHash);
1128 TSS_HKEY hParentKey, TSS_HKEY *phKey)
1134 TSS_OBJECT_TYPE_RSAKEY, initFlags, phKey))) {
1140 *phKey, passHash);
1143 Tspi_Context_CloseObject(hContext, *phKey);
1153 Tspi_Context_CloseObject(hContext, *phKey);
1168 Tspi_Context_CloseObject(hContext, *phKey);
1173 if ((result = Tspi_Policy_AssignToObject(hMigPolicy, *phKey))) {
1176 Tspi_Context_CloseObject(hContext, *phKey);
1183 result = set_legacy_key_params(*phKey);
1185 Tspi_Context_CloseObject(hContext, *phKey);
1191 if ((result = Tspi_Key_CreateKey(*phKey, hParentKey, 0))) {
1194 Tspi_Context_CloseObject(hContext, *phKey);
1252 int key_type, CK_CHAR_PTR passHash, TSS_HKEY *phKey)
1279 hParentKey, phKey)) {
1291 result = Tspi_Context_RegisterKey(hContext, *phKey,
1303 TSS_PS_TYPE_USER, newuuid, phKey);
2254 TSS_HKEY *phKey)
2274 *phKey = NULL;
2295 handle, hParentKey, NULL, phKey))) {
2305 if (*phKey != NULL) {
2306 result = Tspi_Key_LoadKey(*phKey, hParentKey);
2321 phKey))) {
2348 if ((result = Tspi_GetPolicyObject(*phKey,
2381 *phKey))) {