helium / ecc_compact

Unpatented ECC point compression for NIST p-256 public keys
Other
8 stars 14 forks source link

Add compression and decompression support for k256 (secp256k1) keys. #5

Closed ke6jjj closed 2 years ago

ke6jjj commented 2 years ago

This is a proposed change to for using OpenSSL to rapidly decompress compressed k256 keys. I have two qualms about what I have done:

  1. I've taken a module named ecc_compact and made it serve two purposes compaction and compression.
  2. In order to expose the dual nature, I've renamed some of the public functions and types. This will require changes to the primary dependent on this library: libp2p_crypto.