cisco / go-hpke

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

Bump up PSK length, and add a zero check for x448. #44

Closed chris-wood closed 3 years ago

chris-wood commented 3 years ago

The check isn't required per RFC 7748 (it's a MAY), though most x25519 implementations do it, so let's just match for parity.