Skip to content

Voprf trait #500

@daxpedda

Description

@daxpedda

Similar to JwkParameters or AlgorithmParameters I propose adding a Voprf parameter that adds the suite ID, see the RFC.

It could look like this:

pub trait Voprf<H: HashMarker> {
    const SUITE_ID: u16;
}

NistP256 & co could then implement this trait.

The name is actually not very good, it should probably be VoprfCipherSuiteId or something like that.

Related: #497.

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