Skip to content

chacha20: RNG is gated behind legacy feature + rng feature #454

@nstilt1

Description

@nstilt1

I had to navigate through some internal dependency conflicts with my library I'm working on, and once I got through them, I noticed that I can't use the RNG because it's gated behind the legacy feature. Well, I can use it by using that feature, but it could be done with only one feature and without the extra cipher dependency. This can be fixed by setting line 62 of variants.rs to #[cfg(any(feature = "legacy", feature = "rng"))]

Also, if XChaCha is supposed to be using the legacy/DJB variant, then we'll need to add the xchacha feature to this cfg

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