Module mc_oblivious_traits::testing
source · [−]Expand description
Some generic tests that exercise objects implementing these traits
Functions
Exercise an OMAP by writing, reading, accessing, and removing a progressively larger set of random locations
Exercise an OMAP used as an oblivious counter table via the access_and_insert operation
Exercise an ORAM by writing, reading, and rewriting, a progressively larger set of random locations
Exercise an ORAM by writing, reading, and rewriting, all locations consecutively
Take an empty omap and add items consecutively to it until it overflows. Then test that on overflow we have rollback semantics, and we can still find all of the items that we added.