-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit integrates Ian Coleman's recent branch of blsttc that uses blstrs instead of bls12_381. blsttc now implements SecretKey and PublicKey as newtype wrappers around blstrs::Scalar and blstrs::G1Affine respectively. It also depends on changes added by Anselme and myself to blsttc, ringct and their dependencies. These changes primarily provide From impls for the blsttc newtype wrappers so that blsttc keys can be used cleanly with ringct functons that accept Into<Scalar> and Into<PublicKey>. Some notable sn_dbc changes: * we only use blsttc keys, no more Scalar/G1Affine. * Amount is now defined in ringct and re-exported in sn_dbc. * get rid of rand7, now rand8 everywhere * use ringct::Output::new() and TrueInput::new() * gets rid of BlsHelper, SecretKeyBlst, PublicKeyBlst
- Loading branch information
Showing
12 changed files
with
168 additions
and
242 deletions.
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
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
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
Oops, something went wrong.