add functions to compress/uncompress ECC points.