#constant-time #oblivious-ram #crypto

no-std mc-oblivious-traits

Traits and interfaces for components related to Oblivious data structures

4 stable releases

2.3.0 Mar 24, 2023
2.2.0 Mar 12, 2022
2.0.0 Apr 17, 2021
1.0.0 Mar 9, 2021

#926 in Cryptography

Download history 51/week @ 2024-11-08 4/week @ 2024-11-15 202/week @ 2024-12-06 54/week @ 2024-12-13 3/week @ 2025-01-17 55/week @ 2025-01-24 64/week @ 2025-01-31 35/week @ 2025-02-07 15/week @ 2025-02-14

132 downloads per month
Used in 2 crates

GPL-3.0 license

125KB
1.5K SLoC

mc-oblivious-traits

Traits defining interfaces for Oblivious RAM, a backing storage supporting Oblivious RAM, and Oblivious Maps, in terms of fixed-size chunks of aligned bytes.


lib.rs:

Traits for different pieces of ORAM, from the level of block storage up to an oblivious map. These are all defined in terms of fixed-length chunks of bytes and the A8Bytes object from the aligned-cmov crate.

There is also a naive implementation of the ORAM storage object for tests.

Dependencies

~615KB
~15K SLoC