Lines Matching defs:phKey

690 	TSS_HKEY *phKey)
702 TSS_KEY_MIGRATABLE | initFlags | key_size, phKey);
709 result = set_public_modulus(hContext, *phKey, size_n, n);
711 Tspi_Context_CloseObject(hContext, *phKey);
712 *phKey = NULL_HKEY;
717 result = Tspi_SetAttribData(*phKey, TSS_TSPATTRIB_KEY_BLOB,
722 Tspi_Context_CloseObject(hContext, *phKey);
723 *phKey = NULL_HKEY;
728 *phKey, NULL);
731 if ((result = Tspi_SetAttribUint32(*phKey,
736 Tspi_Context_CloseObject(hContext, *phKey);
740 if ((result = Tspi_SetAttribUint32(*phKey,
745 Tspi_Context_CloseObject(hContext, *phKey);
750 result = Tspi_Key_WrapKey(*phKey, hParentKey, NULL_HPCRS);
754 Tspi_Context_CloseObject(hContext, *phKey);
755 *phKey = NULL_HKEY;
769 TSS_HKEY hParentKey, TSS_HKEY *phKey)
846 phKey))) {
871 TSS_OBJECT_TYPE_RSAKEY, initFlags, phKey))) {
877 if ((result = set_public_modulus(hContext, *phKey,
879 Tspi_Context_CloseObject(hContext, *phKey);
880 *phKey = NULL_HKEY;
884 TSS_POLICY_MIGRATION, *phKey, NULL);
886 Tspi_Context_CloseObject(hContext, *phKey);
887 *phKey = NULL_HKEY;
891 result = set_legacy_key_params(*phKey);
893 Tspi_Context_CloseObject(hContext, *phKey);
894 *phKey = NULL_HKEY;
902 if ((result = Tspi_GetAttribData(*phKey, TSS_TSPATTRIB_KEY_BLOB,
975 TSS_HKEY *phKey)
986 hParentKey, phKey))) {
996 *phKey, passHash);
1164 TSS_HKEY hParentKey, TSS_HKEY *phKey)
1169 TSS_OBJECT_TYPE_RSAKEY, initFlags, phKey))) {
1176 TSS_POLICY_USAGE, *phKey, passHash);
1178 Tspi_Context_CloseObject(hContext, *phKey);
1185 TSS_POLICY_MIGRATION, *phKey, passHash);
1187 Tspi_Context_CloseObject(hContext, *phKey);
1193 result = set_legacy_key_params(*phKey);
1195 Tspi_Context_CloseObject(hContext, *phKey);
1200 if ((result = Tspi_Key_CreateKey(*phKey, hParentKey, 0))) {
1203 Tspi_Context_CloseObject(hContext, *phKey);
1260 int key_type, CK_CHAR_PTR passHash, TSS_HKEY *phKey)
1289 hParentKey, phKey)) {
1301 result = Tspi_Context_RegisterKey(hContext, *phKey,
1313 TSS_PS_TYPE_USER, newuuid, phKey);
2319 TSS_HKEY *phKey)
2339 *phKey = NULL;
2360 handle, hParentKey, NULL, phKey))) {
2370 if (*phKey != NULL) {
2371 result = Tspi_Key_LoadKey(*phKey, hParentKey);
2386 phKey))) {
2413 if ((result = Tspi_GetPolicyObject(*phKey,
2446 *phKey))) {