Trait mc_oblivious_traits::ORAMCreator[][src]

pub trait ORAMCreator<ValueSize: ArrayLength<u8>, RngType: RngCore + CryptoRng> {
    type Output: ORAM<ValueSize> + Send + Sync + 'static;
    fn create<M: 'static + FnMut() -> RngType>(
        size: u64,
        stash_size: usize,
        rng_maker: &mut M
    ) -> Self::Output; }

A factory which creates an ORAM of arbitrary size using recursive strategy. The result is required to have the ’static lifetime, and not be tied to the factory.

Associated Types

type Output: ORAM<ValueSize> + Send + Sync + 'static[src]

Loading content...

Required methods

fn create<M: 'static + FnMut() -> RngType>(
    size: u64,
    stash_size: usize,
    rng_maker: &mut M
) -> Self::Output
[src]

Loading content...

Implementors

Loading content...