Skip to content

HPKE API does not separate encapsulated key from ciphertext #14932

@BrianSipos

Description

@BrianSipos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions