projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1698 from TheBlueMatt/2022-09-release-names
[rust-lightning]
/
lightning
/
src
/
util
/
chacha20.rs
diff --git
a/lightning/src/util/chacha20.rs
b/lightning/src/util/chacha20.rs
index 85c0a47d4a5064f2fabe22e51829a7d1b60ed052..3578fb36626f494053decf24c96d4633bdc412b8 100644
(file)
--- a/
lightning/src/util/chacha20.rs
+++ b/
lightning/src/util/chacha20.rs
@@
-11,7
+11,7
@@
use io;
use io;
-#[cfg(not(f
eature = "fuzztarget"
))]
+#[cfg(not(f
uzzing
))]
mod real_chacha {
use core::cmp;
use core::convert::TryInto;
mod real_chacha {
use core::cmp;
use core::convert::TryInto;
@@
-272,10
+272,10
@@
mod real_chacha {
}
}
}
}
}
}
-#[cfg(not(f
eature = "fuzztarget"
))]
+#[cfg(not(f
uzzing
))]
pub use self::real_chacha::ChaCha20;
pub use self::real_chacha::ChaCha20;
-#[cfg(f
eature = "fuzztarget"
)]
+#[cfg(f
uzzing
)]
mod fuzzy_chacha {
pub struct ChaCha20 {}
mod fuzzy_chacha {
pub struct ChaCha20 {}
@@
-297,7
+297,7
@@
mod fuzzy_chacha {
pub fn process_in_place(&mut self, _input_output: &mut [u8]) {}
}
}
pub fn process_in_place(&mut self, _input_output: &mut [u8]) {}
}
}
-#[cfg(f
eature = "fuzztarget"
)]
+#[cfg(f
uzzing
)]
pub use self::fuzzy_chacha::ChaCha20;
pub(crate) struct ChaChaReader<'a, R: io::Read> {
pub use self::fuzzy_chacha::ChaCha20;
pub(crate) struct ChaChaReader<'a, R: io::Read> {