* refactoring
- Introduced typedef int OQS_status; in src/common/common.h and
refactored the
code accordingly. Now it's easy to figure out whether the function
returns
an error status or an int.
- Refactored hard-coded returns so now we return the OQS_status as
either
OQS_SUCCESS or OQS_ERROR. OQS_RAND_get_system_entropy() and all other
KEX/SIG API functions now return OQS_STATUS instead of int.
- Introduced src/common/oqs.h, which include all other necessary liboqs
headers. All standalone programs now only #include <oqs/oqs.h>
- src/kex.c:23, the UNUSED macro was re-defined differently from
oqs/common.h:25, so re-defined kex.c's UNUSED to UNUSED_KEX
- Got rid of PRINT_(PART)_HEX macros and introduced stand-alone
functions in
src/common.h (with definitions in src/common.c)
void OQS_print_hex_string(const char *label, uint8_t *str, size_t
len);
void OQS_print_part_hex_string(const char *label, uint8_t *str,
size_t len, size_t sub_len);
* commit
fixed stdint.h missing #include
* commit
* commit
* commit
* These files are part of the patch
* Modified patch
* added oqs.h in the Windows build
* VS build
* Fixed VS build
* fixed VS build
* Fixed test_rand VS project
added WINDOWS macro in the VS configuration for test_rand
* Add minimal kex and sig example file showing the api usage
* Fix regular expression
* update
* Update global namespace regex
* Further updates to gloabalnamespace script
* added minimal_sig/kex_oqs as test cases
* commit
* commit
* commit
updated tabs to spaces
* commit
make prettyprint
* commit
replaced macros with functions
* commit
changed print_hex_string to disp_hex_string to comply to the coding
standards
* updated regex
* Remove spurious regex updates
* commit
* Added back _ntt_double and _rec in regex
Otherwise gcc fails on travis
* commit
* Updated the picnic library, and removed it as a patched submodule and instead committed the code direclty.
* Added previously ignored config file, and added exception to gitignore.
* Removed the mention about recursive cloning in the readme.
* Replaced the implementation of Picnic with the optimized version of https://github.com/IAIK/Picnic.git.
Some notes:
- Picnic is now a git submodule, built separately (build_picnic.sh) and linked into OQS.
- The params are part of the Picnic library, no need to generate them separately.
- The Picnic params have been renamed
- Picnic has been disabled in the Visual Studio build (until the library supports VS)
* Deleted script to download old picnic implementation.
* Added picnic build commands to the configure script.
* Updated travis to build new picnic lib.
* Added note that clone must be recursive (to get picnic submodule).
* Removed dependency on m4ri and added picnic build instruction in travis (since apparently the configure scrip is not run as usual).
* Changed build_picnic.sh script invocation.
* install cmake3.8
Fix for PR 190
* commit
* commit
* Pulled down update to picnic submodule.
* pulled picnic update fixing compat macros failure
* Added openssl lib to test_sig linker if openssl is enabled.
* Disable Picnic on gcc < 5.
* Fixed travis.yml syntax error.
* Pulled updates to Picnic submodule (fixing build error on MacOS).
* Removed banned-functions test that only checks for bzero. For some strange reason, it doesn't work on travis while building picnic, even if bzero is not in the code.
* prettyprint
* Changed prettyprint's picnic exclusion dir.
* external lib changes
* Disable LTO in Picnic that prevents lib merging.
* Changed mode on build_picnic.sh.
* Added newline at the end of the file.
* Updated version of Picnic.
* Added patch to picnic to satisfy the global functions namespace convention.
* Added force option to patch to avoid error when rebuilding.
* Updated picnic-related entries, and added cmake files (obtained by travis).
* Updated ignore patch for picnic.
* Ignore mods (patched files) in 3rd party picnic library.
* Changed return code if no sig algs are configured, from error to success.
It's not really an error, and this makes the Travis build fail otherwise.
* Updated external picnic, and modified how it is patched and built (to avoid multiple patching).
* disabled Picnic on gcc 4
* Silenced picnic's dry-run patching (to avoid error messages if lib has already been patched).
* added comments to script
* Ignore (patched) submodule when checking for modified files.
Also delete a "grep -v" for picnic that meant to do the same thing, but
was in the wrong place after refactoring.
* Added --ignore-submodules to second call to git status
* Add temp/ to gitignore, to prevent Travis style-check failure on mac.
* Original newhope avx2 code and a patchfile
* Integrate AVX2 into kex
* Makefile.am is needed whether the algorithm is enabled or not
* Updated patch
style-check
update
update
Life is painful
update
* Update Documentation - How to integrate external implementations
* Remove binary files
* brew update for mac
* Makefile.am included
* Remove patch functionality from travis test
* Revert patch
* Rename files.
* Rename file.
* Enabled and documenented building on ARM32 (Raspberry Pi). A hardcoded 'defined ARM' in ds_benchmark.h must be removed (and integrated in the build system) before merging this branch.
* Now uses a macro set by the compiler to detect ARM. Also modified README enabling more algs.
* Prettyprint.
* Fix - Unintended sign extension
* Fix - if cdf_table_len is 0 then there will be a problem
* Fix - Resource Leak
* Integer handling issues (OVERFLOW_BEFORE_WIDEN)
* Update Resource leak
* pretty print
* Provide func declaration
* Removing picnic flags which make it disabled by default.
* Remove picnic flag