Update GOST signatures handling

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>