Skip to content

Use of black_box is not recommended for security uses #12

Description

@AaronFeickert

The library currently uses core::hint::black_box as a fallback optimization barrier when needed for architecture support. However, its documentation specifically recommends against its use for cryptographic or security-focused use cases.

It may be useful to add documentation warning against this for architectures that would use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions