Coder Social home page Coder Social logo

flexsc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flexsc's Issues

Suggestion to use OPT as default mode in "FlexSC/Config.conf"

I guess it is only for me... I tried to debug why output is not available, and finally, finally, found that result for runXXX.sh test example is not out if use CIRCUIT mode - there will be Null Pointer Exception.

So I guess to use OPT as the default mode in "FlexSC/Config.conf".

Or is there anything wrong with my environtment?

@kartik1507

(small error) wrong time measurement?

In FlexSC/test/oram/TestCircuitOramRec.java, after each write,

Flag.sw.startTotal();
client.write(client.baseOram.lib.toSignals(element), scData);
double t = Flag.sw.stopTotal();
Flag.sw.addCounter();

We increase the counter.

In FlexSC/src/util/StopWatch.java, the default value of the counter is:

long counter = 1;

flush() also makes it back to 1.

However, to print the result:

System.out.println(elapsedTimeTotal / 1000000000.0 / counter + "\t"

So, if we do experiments for 128 writes, the result is the total divided by 129.

I am doing experiments for 10 writes (for very big input), the result is divided by 11 (kind of problematic).

It seems that Flag StopWatch with a counter is only used to measure the Circuit ORAM.
So I think I can submit a PR to reduce 1 counter increasement.

This also affects the ObliVMGC library because the code is the same. (maybe no need to fix that one)
https://github.com/oblivm/ObliVMGC/tree/master/java/com/oblivm/backend

a note of a typo

src/util/Reciever.java

-> Receiver

Guesses we need to change many files...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.