eckey: add support for compressed or uncompressed keys