soft_pack_object
rv = soft_pack_object(obj, buf1);
CK_RV soft_pack_object(struct object *objp, uchar_t *buf);