File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ macro_rules! impl_chacha_rng {
240240 /// rounds is the minimum potentially secure configuration, and 20 rounds is widely used as a
241241 /// conservative choice.
242242 ///
243- /// We use a 64-bit counter and 64-bit stream identifier as in Bernstein's implementation[^3]
243+ /// We use a 64-bit counter and 64-bit stream identifier as in Bernstein's implementation
244244 /// except that we use a stream identifier in place of a nonce. A 64-bit counter over 64-byte
245245 /// (16 word) blocks allows 1 ZiB of output before cycling, and the stream identifier allows
246246 /// 2<sup>64</sup> unique streams of output per seed. Both counter and stream are initialized
@@ -291,11 +291,9 @@ macro_rules! impl_chacha_rng {
291291 ///
292292 /// The other Rngs from this crate are initialized similarly.
293293 ///
294- /// [^1]: D. J. Bernstein, [*ChaCha, a variant of Salsa20*](
295- /// https://cr.yp.to/chacha.html)
294+ /// [^1]: D. J. Bernstein, [*ChaCha, a variant of Salsa20*](https://cr.yp.to/chacha.html)
296295 ///
297- /// [^2]: [eSTREAM: the ECRYPT Stream Cipher Project](
298- /// http://www.ecrypt.eu.org/stream/)
296+ /// [^2]: [eSTREAM: the ECRYPT Stream Cipher Project](http://www.ecrypt.eu.org/stream/)
299297 pub struct $ChaChaXRng {
300298 /// The ChaChaCore struct
301299 pub core: BlockRng <$ChaChaXCore>,
You can’t perform that action at this time.
0 commit comments