The base HPKE definitions separate the seal outputs as the tuple (enc, ct) and the open inputs as (enc, ..., ct, ...). The current hpke.Suite API does not separate these and instead concatenates their bytes, making it impossible for an application to handle them separately. This is going to be a problem when integrating with COSE or JOSE environments.
Can the HPKE API be modified, or a parallel separated-data API be provided?
The base HPKE definitions separate the seal outputs as the tuple (enc, ct) and the open inputs as (enc, ..., ct, ...). The current hpke.Suite API does not separate these and instead concatenates their bytes, making it impossible for an application to handle them separately. This is going to be a problem when integrating with COSE or JOSE environments.
Can the HPKE API be modified, or a parallel separated-data API be provided?