dst_s_write_public_key
if ((pub = dst_s_write_public_key(key)) < 0)
static int dst_s_write_public_key(const DST_KEY *key);