* Add replacement for accented characters to language class
Add unit test for handling accented characters.
Upgraded to version 1.0.0
* Encode the unicode characters as escaped chars
* Change string handling to use begin and end instead of front
Added unit test to make sure the extended data is not null
* Fix multiple .net tests that had intermittent failures because of how c++ was handling data
* Updated doctest GIT_TAG so Make Test doesn't output an error
* Updated other dependency that seemed to have an invalid gittag
Co-authored-by: Matthew Ratzell <mjr4427@g.rit.edu>
* Validate that n of m elections are encrypting and decrypting correctly
* Extract styleid
* Fix problem with inconsistent slashes on windows build targets
* Consistently use forward slashes on windows
* Fix slashes for all build targets
* Fix slashes one level higher
* Fix cpm source cache as well
* Setup default value for votes_allowed to match the number_elected
Create C# unit test to test various default values
* Removed the test for a single vote_allowed.
* Changed the test name to be clearer
* make the Party class default to a real value when the is no name given.
* clean up serialization
* Clean up constructor and fix an issue with C test
* fixed missing xml comments
* Simple CLI
* Ability to parse ballots
* Encrypt plaintext and output to out dir
* Submit ballots
* Fix compiler warnings
* Create output directory if it doesn't exist
* Add .NET 6 to github actions
* Upgrade to Visual Studio 2022
* Try to always install .NET 6
* Ensure .NET 5 AND 6 are both installed
* Upgrade .NET 5 to 6
* Only install .NET 6
* Remove 2nd command per PR
* Almost done working on device issue
* Finished working working on device encription issue,and hopefully did it correctly
* Adding using statements to encrpyt..hpp to hopefully fix some errors
* Refactored device serilization to the right location
* Added JSON calls to .NET code for encryptionDevice
* Set up tests for encryption device C#
* Removed unneeded function definitions in encrypt.hpp
* Readded functions to encrpyt file to hopefully stop errors
* Adding using statement back even tho that will make linter unhappy
* Added code to clean up the mistakes I had originally, Still need to update tests
* Updated Encrypt.hpp
* fixed really stupid bug where I changed the name of a variable but not its subsequent calls
* ...
* Delete configurationCache.log
removing files not needed in the repo
* Delete dryrun.log
removing files not needed in the repo
* Delete targets.log
removing files not needed in the repo
Co-authored-by: Matthew Ratzell <mjr4427@g.rit.edu>
Co-authored-by: Steve Maier <82616727+SteveMaier-IRT@users.noreply.github.com>
* Adding configuration to the election context
* Converted configuration to be a pointer
* Add making a config from C#
* Creating Context with configurations
* Add methods to create context that include custom config.
* Fixed PR comments for tests
* Added missing comments
* Add the ability to convert the contants to a json/bson string
Added tests in C# and C++
Fixed issue with Q value in C# being the wrong value.
* Removed the instructions from Python on how to create an instance of the class
* Add support for using the 32 bit optimized HACL code.
* Remove comment.
* fixed allocation for alloca inside of loops
* A bit of cleanup.
Co-authored-by: Steve Maier <ysfred4@hotmail.com>
* version number updated
* adding [] functionality to linked list class
* change ballot_code to code and add spec_version to serializing submitted ballots
* create manifest that can set name and contact information in c#
* Add comments for the new [] operator and new manifest ctor
Co-authored-by: Steve Maier <ysfred4@hotmail.com>
* Add support for writeins and overvotes.
* Looks like my serialization changed broke a C test, not sure why the tests happily proceed on my machine.
* Update naming on an enum.
* Update naming of variables.
* Ooops got somethings wrong for key calculations. Also an updated test that should help with interop.
* Update with changes for interop. Overvote and writein labels were wrong. Updated some test data.
Co-authored-by: Jeff <spelmaa@wwu.edu>
* Update how a_plus_bc_mod_q is calling the big number package. Use 256 bit routines rather than 4096 routines.
* Add benchmark test for a_plus_bc_mod_q
* Use the abstraction layer.
* Should have been using the constant.
Co-authored-by: Jeff <jeffspel@hotmail.com>
* new montgomery code
* Add Hacl code to support using Lookup_Table table entries in Montgomery form.
* Add a newline to the end of Hacl_GenericField64.h
* Removed the checks from the push path, only doing the pull_requests
* new Karamel version of HACL
* Changes for the merge
* Fixed header issue
* Add calls for the GetStatus to update the current status
* changed alloca call to malloca call to resolve issue with Code Scanner
* add constructor to API for testing.
* moved the allocation outside the for loops for the code checker
* Fixed comments on PR
Co-authored-by: Jeff <spelmaa@wwu.edu>
Co-authored-by: SteveMaier-IRT <steve.maier@infernored.com>
Co-authored-by: Steve Maier <82616727+SteveMaier-IRT@users.noreply.github.com>
* Add support to use precomputations when computing the constant chaum pedersen proof associated with a contest.
* Fix the initialization of the count to determine how often we produce computations for the triple queue.
* Update the way the caller determines if there precomputed values for TwoTriplesAndAQuadruple
Co-authored-by: Jeff <spelmaa@wwu.edu>
* Adding code for the encrypt method of the hashed elgamal ciphertext object.
* Add some decryption code
* More decrypt code
* Encrypt/Decrypt for HashedElGamalCiphertext is working.
* Encrypt/decrypt seem to be working
* More HashedElGamalCiphertest changes.
* Update to HashedElGamalCiphertext crypto_hash methods.
* Revert changes to hash.hpp/cpp.
* Add benchmarking test. Cleanup the HashedElGamalCiphertext crypto_hash methods.
* Fix destructor.
* Updated to zeroize intermediate values.
* Change HashedElGamalCiphertext member from ciphertext to data.
* Update the padding scheme used in HashedElGamalCiphertext.
* Update to using hash_elems. Also create a get_hmac function and start using it.
* Fix some issues with HashElGamalCiphertext implementation.
* Add enumeration for max_len on hashedElGamalEncrypt
* Remove the apply_padding parameter from hashedElGamalEncrypt since with the enumeration we no longer need it.
* Update the master_key creation.
* Remove inheriting from CryptoHashable until we are sure we need it.
* Remove random comment.
Co-authored-by: Jeff <spelmaa@wwu.edu>
Co-authored-by: SteveMaier-IRT <steve.maier@infernored.com>
* added .gitattributes file
added line to hopefully have line endings for linux on commit but change to system endings on pull
* change file format from txt in case that is neccessary for gitattributes
* Removed accidental duplicate .gitattributes
Co-authored-by: Matthew Ratzell <mjr4427@g.rit.edu>