-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remove UnsafeCell (Attempt 2) #88
Closed
Closed
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
757b0aa
Remove unsafe cell from ark-secret-scalar
davxy 4c7eba5
Minor tweaks
davxy 92d8f93
Extend modifications to dleq_vrfs
davxy 3d890fa
Fix internal deps
davxy 2af5bd2
Don't leak the secret
davxy 2799d46
Docs
davxy 20143b5
Expose a type which internally performs a resplit when required
davxy 1cf4dc2
Rename SecretScalarSplit to SecretSplit
davxy 646a238
Do not resplit if not required
davxy 1cc10e7
Expose parallel feature
davxy 0588c66
Merge branch 'unlock-parallel' into remote-unsafe-cell2
davxy 745f2ee
Fix Cargo.toml
davxy 4d54ee7
Remove substrate curves dep
davxy 1a7aa56
Re-add substrate curves dep, but with a catch
davxy 68b4510
Make scalar private
davxy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "ark-secret-scalar" | ||
description = "Secret scalars for non-constant-time fields and curves" | ||
authors = ["Jeff Burdges <[email protected]>"] | ||
version = "0.0.2" | ||
version = "0.0.3" | ||
repository = "https://github.com/w3f/ring-vrf/tree/master/ark-secret-scalar" | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
|
@@ -27,9 +27,7 @@ ark-transcript = { version = "0.0.2", default-features = false, path = "../ark-t | |
|
||
|
||
[dev-dependencies] | ||
|
||
# TODO: Tests | ||
# ark-bls12-377 = { version = "0.4", default-features = false, features = [ "curve" ] } | ||
ark-bls12-377 = { version = "0.4", default-features = false, features = [ "curve" ] } | ||
|
||
|
||
[features] | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "dleq_vrf" | ||
description = "VRFs from Chaum-Pedersen DLEQ proofs, usable in Ring VRFs" | ||
authors = ["Sergey Vasilyev <[email protected]>", "Jeff Burdges <[email protected]>", "Syed Hosseini <[email protected]>"] | ||
version = "0.0.2" | ||
version = "0.0.3" | ||
repository = "https://github.com/w3f/ring-vrf/tree/master/dleq_vrf" | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
|
@@ -20,8 +20,8 @@ ark-ff.workspace = true | |
ark-ec.workspace = true | ||
ark-serialize.workspace = true | ||
|
||
ark-secret-scalar = { version = "0.0.2", default-features = false, path = "../ark-secret-scalar" } | ||
ark-transcript = { version = "0.0.2", default-features = false, path = "../ark-transcript" } | ||
ark-secret-scalar = { default-features = false, path = "../ark-secret-scalar" } | ||
ark-transcript = { default-features = false, path = "../ark-transcript" } | ||
|
||
ark-scale = { workspace = true, optional = true } | ||
|
||
|
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we want to make this public so that the user can eventually keep it and manually invoke
resplit
if required.If you want to make it private then some methods can be removed as well... as are not used