template_merge
rc = template_merge(tmpl, &new_tmpl);
rc = template_merge(obj->template, &new_tmpl);
rc = template_merge(tmpl, &tmpl2);
CK_RV template_merge(TEMPLATE *, TEMPLATE **);