Skip to content

IBKEM trait flexibility #6

@leonbotros

Description

@leonbotros

Currently the IBKEM trait is not very flexible. Some constructions require a public key in the decapsulation function (for example the FO variants). Right now, we pass an Option<&Self::Pk> to the decapsulation function, which panics at runtime when no public key is given, but ideally this would be a compile-time error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions