circl
circl copied to clipboard
Add Validate() function to kem.PublicKey and kem.PrivateKey interfaces
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.