Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

ORAM library for Obliv-C

This is a library extension for Obliv-C, a language for collaborative cryptographic computation on private data. Typically Obliv-C does not allow array access such that the element location depends on private data. This library provides data structures for overcoming this limitation, at least for honest-but-curious protocols.

Status: The library itself is ready for use, but the test/benchmarking code is still being posted as we clean it up. In the meantime, we are happy to help out if you contact us at


First, install Obliv-C if you have not done so already. Follow the instructions from this repository. After that, perform the following actions:

  1. Add this to your .bashrc, since it is used by the Makefile. This should allow you to invoke the compiler as $OBLIVC_PATH/bin/oblivcc.
export OBLIVC_PATH=/path/to/oblivc
  1. Clone the repository: git clone
  2. Perform make

This will build a build/liboram.a file in the repository. Now you can use it in any project as follows:

$OBLIVCC yourproject.oc -I $LIBORAM/oram -L $LIBORAM/build -loram

As always, questions always welcome at

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.