Switch protocol framework to manul
#156
Merged
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.
Fixes #151
As discussed in Slack, it's quite tricky to keep Presigning and Signing separate - if an error happens in Signing it requires a bunch of signed messages from Presigning, and it's very awkward to keep and supply them. So this PR merges Presigning and Signing.
If we ever need a separate Presigning, the 6-round version from the paper will be suitable, since its Signing counterpart does not require us to transfer any Presigning messages. See #36.
Even though the code is still kind of dirty, this PR is so huge I think it should just stop here. The cleanup will be made in subsequent PRs. We didn't introduce any new unfinished parts, all the unimplemented stuff has already been there before.
Update: the new version of CGGMP paper resolves this by moving all the required proofs into Presigning, but I would rather not modify this PR any more, and there's also another one stacked on top of it. The Presigning and Signing will be split again in the course of fixing #157