i2d_GOST_KEY_PARAMS
int i2d_GOST_KEY_PARAMS(GOST_KEY_PARAMS *a, unsigned char **out);
params->length = i2d_GOST_KEY_PARAMS(gkp, ¶ms->data);