Commit Graph

24 Commits

Author SHA1 Message Date
Eran Tromer 0b928a7b36 README.md: comment about OMP_NUM_THREADS 2015-11-23 18:45:31 +02:00
Eran Tromer 12a6214c05 README: avoid # signs that confuse markdown_py 2015-10-17 16:47:48 +03:00
Eran Tromer 5494e838e5 README.md: add explanations about using libsnark as a library 2015-10-15 04:39:03 +03:00
Eran Tromer 47ed57669e README.md tweaks 2015-10-03 04:21:23 +03:00
Eran Tromer 2e6fd83e3b README.md updates:
- Reflect many of the recent additions and refactoring in libsnark
  (at least at the level of brief mentions and pointers).
- More build instructions/hints.
- Minor cleanups.
2015-10-02 14:27:44 -04:00
Eran Tromer 998a23735a Makefile and prepare-depends improvements
- Refactor CXXFLAGS so that feature flags and optimization flags can be easily overriden from command line
- Add NO_SUPERCOP=1 option
- Avoid need to manually create ./depinst directory when ./prepare-depends is not needed (i.e., when BN128 and SUPERCOP are not used)
- Fix the flags for static build
- Build executables that need GTest even if we used an existing GTest rather than compiling it
- Minor cleanups and comments
2015-10-02 14:27:44 -04:00
Gordon Stewart 44f1b2f80c Add 'libssl-dev' and 'libboost-all-dev' to Ubuntu package dependencies 2015-08-12 16:25:59 -04:00
Madars Virza abf63ed568 Document mixed addition optimization. 2015-04-27 10:03:34 +03:00
Madars Virza 99d9676152 Add an option to switch between Montgomery and equivalence class representations for field element output. 2015-04-27 10:03:33 +03:00
Joshua Kroll 4b983e3c38 Update verbiage per Eran's suggestions. 2014-10-06 15:10:41 -04:00
Joshua Kroll 62a2ae044c Make the discussion of system sources of randomness clearer.
On most modern linux systems, there's essentially no security
difference between /dev/random and /dev/urandom, meaning that the
blocking property of /dev/random is actually harmful in many
cases. This advice is not necessarily true if you care about
e.g. embedded systems where you're going to generate crypto keys
immediately after boot (or, in some cases, even a long time after
boot).

In general, the best advice is to use external high-quality randomness
for keys (or to use urandom on a system where you believe it has been
keyed appropriately). See
http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/
for a careful explanation. Also know that there's a lot of active work
to improve the behavior and cluefulness of both /dev/random and
/dev/urandom. I don't know enough about the state of that to summarize
it, though.
2014-09-25 16:27:27 -04:00
Madars Virza 1862f7d2fc Add OS X as a tested architecture. 2014-08-07 11:58:45 -04:00
Madars Virza 49ddda2510 Rename MINDEPS to more accurate NO_PROCPS and add NO_DOCS make option. 2014-08-07 11:55:13 -04:00
Madars Virza d34b477ed9 Update README to document more tested architectures. 2014-07-22 15:08:37 +03:00
Madars Virza 91f7c72428 Allow even more minimalistic builds:
introduce NO_GTEST=1 to prevent linking against libgtest (see README); and
      only require lzm (ate-pairing) for bn128 curve choice.
2014-07-22 14:22:27 +03:00
Madars Virza d2238de313 Update license and README to account for merging of our pairing precomputation code in ate-pairing upstream. 2014-07-17 11:13:40 +03:00
Madars Virza 3017ed85a0 Update LICENSE and README to reflect the fact that ate-pairing has incorporated our patch. 2014-07-15 12:56:22 +03:00
Eran Tromer 525922fa43 README.md tweaks 2014-07-14 22:47:26 +03:00
Madars Virza 63b895cf49 Rename profile_r1cs_ppzksnark to demo_r1cs_ppzksnark and do additional directory re-structuring. 2014-07-14 11:11:55 +03:00
Madars Virza 71883bc168 Update authorship information. 2014-07-14 11:11:55 +03:00
Eran Tromer 2ad444964b Add "make lib" and tell about it in README 2014-07-13 16:57:00 +03:00
Joshua Kroll 0d5f57d168 Modify the Makefile so that gtest is successfully rebuilt on Ubuntu, but preserve functionality on systems which just link against a prebuilt gtest (e.g. Fedora). Tested on Ubuntu 14.04 and Fedora 20. 2014-06-06 17:05:26 -04:00
Eran Tromer f13a6d2322 Added python-markdown and graphviz dependencies to README 2014-06-05 18:14:30 +03:00
Eran Tromer 0c0f677a2d Initial public release of libsnark 2014-06-03 17:25:26 +03:00