Skip to content
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

Implement the messages spec #114

Merged
merged 71 commits into from
Jun 16, 2021

Conversation

oxarbitrage
Copy link
Contributor

Ongoing implementation of the messages spec.

https://github.com/ZcashFoundation/redjubjub/tree/main/rfcs/0001-messages.md

More details to be added.

oxarbitrage and others added 30 commits May 13, 2021 16:18
@@ -66,7 +66,7 @@ impl<T: SigType> Hash for VerificationKeyBytes<T> {
///
/// 1. The check that the bytes are a canonical encoding of a verification key;
/// 2. The check that the verification key is not a point of small order.
#[derive(Copy, Clone, Debug)]
#[derive(PartialEq, Copy, Clone, Debug)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security: we might want to implement constant-time equality instead.

@dconnolly what do you think?

src/lib.rs Outdated Show resolved Hide resolved
src/frost.rs Show resolved Hide resolved
src/frost.rs Show resolved Hide resolved
tests/frost.rs Outdated Show resolved Hide resolved
src/messages.rs Outdated Show resolved Hide resolved
src/messages.rs Outdated Show resolved Hide resolved
src/messages.rs Outdated Show resolved Hide resolved
src/messages.rs Outdated Show resolved Hide resolved
src/messages/tests/integration.rs Outdated Show resolved Hide resolved
src/messages/tests/integration.rs Outdated Show resolved Hide resolved
src/messages/tests/integration.rs Outdated Show resolved Hide resolved
src/messages/tests/integration.rs Show resolved Hide resolved
src/messages/tests/integration.rs Outdated Show resolved Hide resolved
@oxarbitrage oxarbitrage marked this pull request as ready for review June 3, 2021 20:51
@dconnolly
Copy link
Contributor

@oxarbitrage can we get a quick rebase onto main to resolve some merge conflicts? thanks

@oxarbitrage
Copy link
Contributor Author

I don't see merge conflicts and i actually think nothing was merged into the main branch after the last rebase of this but i might be wrong. if you approve i can try to merge and see whats going on.

@upbqdn
Copy link
Member

upbqdn commented Jun 16, 2021

I think this PR can also close #48.

@oxarbitrage oxarbitrage merged commit fa3c602 into ZcashFoundation:main Jun 16, 2021
@oxarbitrage oxarbitrage mentioned this pull request Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impl Serialization/Deserialization for FROST types that will go on the wire
5 participants