cloudflare / circl

CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
http://blog.cloudflare.com/introducing-circl
Other
1.22k stars 136 forks source link

Add Validate() function to kem.PublicKey and kem.PrivateKey interfaces #420

Open chris-wood opened 1 year ago

chris-wood commented 1 year ago

The HPKE implementation wraps internal KEMs and implements its own Validate function. This is fine, but it seems like a function that might be better on the interfaces for keys.