cisco / go-hpke

Implementation of draft-irtf-cfrg-hpke
BSD 2-Clause "Simplified" License
30 stars 15 forks source link

Convert NIST public key serialization to "compact representation" #52

Closed chris-wood closed 3 years ago

chris-wood commented 3 years ago

Per RFC6090, this is simply the x coordinate. The y coordinate sign bit is ignored when deserializing, as it does not affect the DH shared secret output.