Function mc_oblivious_traits::testing::exercise_omap [−][src]
pub fn exercise_omap<KeySize, ValSize, O, R>(
num_rounds: usize,
omap: &mut O,
rng: &mut R
) where
KeySize: ArrayLength<u8>,
ValSize: ArrayLength<u8>,
O: ObliviousHashMap<KeySize, ValSize>,
R: RngCore + CryptoRng,
Exercise an OMAP by writing, reading, accessing, and removing a progressively larger set of random locations