cisco / go-hpke

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

Add MAC modes #10

Closed bifurcation closed 5 years ago

bifurcation commented 5 years ago

This PR adds MAC modes for HPKE. In the "Auth" and "PSKAuth" modes, this creates a designated verifier signature, in the sense that the message is authenticated as coming from pkI, but only the holder of pkR can verify it.

This would obviously require spec updates, and maybe a rename away from HPKE.

bifurcation commented 5 years ago

This is unnecessary, cf. draft-irtf-cfrg-hpke#14