Skip to content

dsa: use rfc6979::generate_k_mut #778

@tarcieri

Description

@tarcieri

Right now the dsa crate uses the HmacDrbg implementation from rfc6979.

It would be nice to make that a private implementation detail of rfc6979 and switch dsa to using rfc6979::generate_k_mut instead, which operates over slices and fills a buffer with k.

Notably the implementation is dsa is not constant-time.

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