sharplispers / ironclad

A cryptographic toolkit written in Common Lisp
BSD 3-Clause "New" or "Revised" License
166 stars 28 forks source link

Export Elliptic Curve methods #60

Closed dnaeon closed 1 year ago

dnaeon commented 1 year ago

Hey,

Is there a reason why the EC methods such as EC-DECODE-SCALAR, EC-ENCODE-SCALAR and the various EC Points classes are note exposed?

I'm working on a JWK system (related to https://github.com/sharplispers/ironclad/issues/59), and in order to decode EC public keys right now I'm using the unexported methods mentioned above.

Can we please export these methods and classes in ironclad?

Thanks!

dnaeon commented 1 year ago

Submitted a PR about this one.

Let me know what do you think.

Thanks!

dnaeon commented 1 year ago

Thanks, @glv2 !