Skip to content

crypto: poly1305 message authentication code #32433

Description

@mscdex

Is your feature request related to a problem? Please describe.
I can't use poly1305 separately from chacha20-poly1305. Some algorithms (e.g. chacha20-poly1305 in OpenSSH) require the operations to be separate due to limitations/restrictions of chacha20-poly1305 as defined in RFC 7539.

Describe the solution you'd like
To be able to use poly1305 as efficiently as possible, whether it's via crypto.createHmac() or crypto.sign() or something else.

Describe alternatives you've considered
Unfortunately there are none, except doing poly1305 in pure javascript, which I assume is going to be pretty slow in comparison.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoIssues and PRs related to the crypto subsystem.feature requestIssues requesting new Node.js features.opensslIssues and PRs related to the OpenSSL dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions