Lines Matching defs:tcsHandle
36 TCS_KEY_HANDLE tcsHandle;
46 if ((tcsHandle = mc_get_handle_by_pub(&key.pubKey, hParent)) == NULL_TCS_HANDLE) {
49 mc_set_slot_by_handle(tcsHandle, hSlot);
50 *new = tcsHandle;
57 tcsHandle = getNextTcsKeyHandle();
58 LogDebugFn("calling mc_add_entry, TCS handle: 0x%x, TPM handle 0x%x", tcsHandle, hSlot);
60 if ((result = mc_add_entry(tcsHandle, hSlot, pKey)))
64 if (ctx_mark_key_loaded(hContext, tcsHandle)) {
70 if ((result = mc_set_parent_by_handle(tcsHandle, hParent))) {
75 *new = tcsHandle;