forked from ZenGo-X/curv
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade #1
Open
prz23
wants to merge
40
commits into
sgx-test:0.8.0-nosecp-sgx-gmp
Choose a base branch
from
ZenGo-X:master
base: 0.8.0-nosecp-sgx-gmp
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
upgrade #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Impl From<u16> for BigInt * Add Polynomial * Add the proof * Update travis config * Bump version * Rename coef0 to const_term + update docs * Add sample_exact and sample_exact_with_fixed_const * Rename LdeiProveError -> LdeiProofError * Move polynomial into secret_sharing module * LDEI prove takes witness and statement * Comment out crypto primitives for a while * Update traits, add wrappers, and upgrade secp256k1 implementation * Update polynomial * Do not access wrappers internal state directly, improve docs * Add generator wrapper * Add secp256k1 test * Implement Serialize, Deserialize for Point(Z) * Update feldman_vss * Add {to,from}_bytes functions to PointZ * Update hashing * Change curve_name method with associated constant * Deref stylistic fix * Optimise generator multiplication * Update docs * Update commitments * Update low_degree_exponent_interpolation * Update sigma_correct_homomorphic_elgamal_enc * Update sigma_correct_homomorphic_elgamal_encryption_of_dlog * Wrappers: rename methods, implement PartialEq * Update sigma_dlog * Update sigma_ec_ddh * Rename curve_order to group_order * Restrict the points to be of group order * Split a large wrappers module into several files * Update sigma_valid_pedersen * Update sigma_valid_pedersen_blind * Fix derived Serialize/Deserialize traits * Update coin_flip_optimal_rounds * Update dh_key_exchange * Update dh_key_exchange_variant_with_pok_comm * Update diffie_hellman_key_exchange example * Update pedersen_commitment * Update proof_of_knowledge_of_dlog example * Update verifiable_secret_sharing example * Fix warning * Fix clippy warnings * Update doc * Improve hashing * Write doc * Fix typos * Update travis config * Update P-256 curve implementation * Add tests * Update Ed25519 curve * Update Ristretto curve * Ristretto: x=hash(y) * Add the first BLS curve * Default implementation for ECPoint::is_zero method * Add tests, fix ed25519 negation * Uncomment proofs of base_point2 picked randomly * Add the second BLS curve * Write doc * Add pairing, update docs * Rename package * Update readme * Add changelog * Merge Point&PointZ, Scalar&ScalarZ * Serialize always succeeds * Update doc * Fix clippy warning * VerifiableSS returns polynomial used to derive secret shares * Fix documentation * Optimize elliptic curves implementations * Add serialize/deserialize to Scalars * Use scalar/point `serialize` functions to implement serde serialization instead of bigint * Add serde tests * Add more EC serialize/deserialize tests * Update examples * Update Cargo.toml * Update docs * Update vss to use u16 instead of usize fix * Resolve TODO * Fix doc * Impl iter::{Sum, Product} for wrappers * Ristretto: return x=None instead of x=hash(y) * Add documentation for the rest of the curves * Improve point serialization * Improve scalar serialization * Move serde-related stuff to dedicated module * Improve serde tests * Remove PointRef wrapper * Move actual unsafe code to a single function * Finalization Co-authored-by: Elichai Turkel <[email protected]>
* Remove dependency on `ring_algorithm` * Fix clippy warnings * Rename module ring -> ring_algorithms
…ated hashing traits (#129) * Delete deprecated hashing traits and structures * Make cryptographic commitments generic over the hash function * Add a macro to test against a bunch of hash functions and move test macros to a new module * Make the tests iterate over a bunch of hash functions * Make merkle_tree::MT256 Send/Sync even if E isn't * Update LdeiProof
* Add serde_json support for BigInt (de)serialization * Bump version & update changelog
…susing the api and passing 0 as index (#157) * Add an assert to make sure that no one passes 0 as an index to secret sharing * Add a comment warning users on share_at_indices * Change share_at_indices to recieve an iterator of NonZeroU16 to enforce non zero at the type level
* Add more tests covering different ways values can be represented * Support deserialization of points/scalars represented as a sequence * Support serialization/deserialization in human readable format
* first fixes, change dependency version * fix compilation issues * rustfmt and revert small change in p256 * cargo fmt Co-authored-by: Elichai Turkel <[email protected]>
* Add test vectors for curve25519 coordinates * Make (q-1)/4 actually (q-1)/4 and not (q-3)/4 * Fix curve25519 coordinates by clearing the parity bit
…igInt was 0 the resulting array was 31 bytes and then the verification failed (#151)
* new release * clippy fixes * 0.10.0
Co-authored-by: Iraklis Leontiadis <[email protected]>
* Remove unneeded trait requirements * Replace cryptoxide with curve25519-dalek * fix conflicts * clippy * fmt --------- Co-authored-by: Iraklis Leontiadis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.