cisco / go-hpke

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

Add exporter functionality. #13

Closed chris-wood closed 4 years ago

chris-wood commented 4 years ago

HPKE produces a shaed secret known to both initiator and responder. An AEAD key and nonce are then derived from this secret. This change derives an additional exporter secret from the secret. It also introduces a Export() API, akin to that of TLS, for computing values using this exporter secret.

chris-wood commented 4 years ago

@bifurcation shall we merge this?