pub fn fetch_input(len: i32) -> &'static [u8] ⓘExpand description
Get an input of the desired length. This function should be called with a constant unchanging len argument. Calling it with different lengths will result in invalid fuzzing.
Example:
ⓘ
let input = sidefuzz::fetch_input(32); // get 32 bytes of input
sidefuzz::black_box(my_contant_time_fn(input));