template_get_size
size = sizeof (OBJECT) + template_get_size(obj->template);
CK_ULONG template_get_size(TEMPLATE *);