Skip to content

Commit

Permalink
Changed curve used for OT such that it is compatible with Fedora's ve…
Browse files Browse the repository at this point in the history
…rsion of libgcrypt.
  • Loading branch information
jackdoerner committed Sep 24, 2016
1 parent 0b3dc3d commit 451da5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ Obliv-C is a simple GCC wrapper that makes it easy to embed secure computation p

# Installation

Step 1) Installation of dependencies (on Ubuntu systems) `sudo apt-get install ocaml libgcrypt20-dev ocaml-findlib`.
1. Installation of dependencies:
* For Ubuntu: `sudo apt-get install ocaml libgcrypt20-dev ocaml-findlib`.
* For Fedora: `sudo dnf install glibc-devel.i686 ocaml ocaml-ocamldoc ocaml-findlib ocaml-findlib-devel libgcrypt libgcrypt-devel perl-ExtUtils-MakeMaker perl-Data-Dumper`

Step 2) Git-clone this repository, and do a `./configure && make RELEASE=1`.
2. Git-clone this repository, and do a `./configure && make RELEASE=1`.

Step 3) Start using it! The compiler is a GCC wrapper script found in `bin/oblivcc`. Example codes are in `test/oblivc`. A language tutorial is found [here](http://goo.gl/TXzxD0).
3. Start using it! The compiler is a GCC wrapper script found in `bin/oblivcc`. Example codes are in `test/oblivc`. A language tutorial is found [here](http://goo.gl/TXzxD0).

Most of this code was forked from the project CIL (C Intermediate Language). You can diff with the master branch to see which part was added on later.

Expand Down
4 changes: 2 additions & 2 deletions src/ext/oblivc/obliv_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ static inline int orecv(ProtocolDesc* pd,int s,void* p,size_t n)
{ return transRecv(pd->trans,s,p,n); }

// Maybe these 5 lines should move to bcrandom.h
#define DHCurveName "secp192r1"
#define DHEltBits 192
#define DHCurveName "secp256r1"
#define DHEltBits 256
#define DHEltSerialBytes (((DHEltBits+7)/8+2)*2)

void dhRandomInit(void);
Expand Down

0 comments on commit 451da5f

Please sign in to comment.