Skip to content

Refactor ct::eq_bytes to use an unsafe read_votatile #128

Description

@ounsworth

The current constant-time equality uses BlackBox, which is not a great solution.

the bouncycastle-utils crate is allowed to use Unsafe Rust. A better solution would be to do something with read_volatile and write_volatile.

Activity

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

Metadata

Metadata

Assignees

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