We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
chacha20
1 parent 9a7c28d commit d43c405Copy full SHA for d43c405
chacha20/src/variants.rs
@@ -53,13 +53,13 @@ impl Variant for Ietf {
53
}
54
55
/// DJB variant specific features: 64-bit counter and 64-bit nonce.
56
-#[cfg(feature = "legacy")]
+#[cfg(any(feature = "legacy", feature = "rng"))]
57
pub enum Legacy {}
58
59
60
impl sealed::Sealed for Legacy {}
61
62
63
impl Variant for Legacy {
64
type Counter = u64;
65
0 commit comments