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

Feat: new circuits part 1 #276

Merged
merged 6 commits into from
Nov 1, 2022
Merged

Feat: new circuits part 1 #276

merged 6 commits into from
Nov 1, 2022

Conversation

SupremoUGH
Copy link
Contributor

@SupremoUGH SupremoUGH commented Oct 31, 2022

First chunk of #153. It consists of the changes in the abstractions in manta-util and manta-crypto.

Changes:
manta-util:

  • codec: Encode and Decode implementations for Box.
  • num: CheckedIncrement, CheckedDecrement and impl_checked macro.

manta-crypto:

  • algebra: new diffie_hellman module.
  • constraint: Satisfied trait.
  • encryption-convert: new header module.
  • encryption: unsafe encryption added.
  • key: expanded key agreement to include EphemeralSecretKey and EphemeralPublicKey. The modules agreement and kdf are in two different files now.
  • permutation-duplexer: Duplexer implements Encode and Decode.

manta-accounting and manta-pay: minimal changes so the changes above compile.


Before we can merge this PR, please make sure that all the following items have been checked off:

  • Linked to an issue with discussion and accepted design OR have an explanation in the PR that describes this work.
  • Added one line describing your change in CHANGELOG.md and added the appropriate changelog label to the PR.
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Checked that changes and commits conform to the standards outlined in CONTRIBUTING.md.

@SupremoUGH SupremoUGH added changelog:added Changelog: add these changes to the `added` section of the changelog P-high Priority: High A-cryptography Area: Issues and PRs related to Cryptography labels Oct 31, 2022
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
manta-util/src/num.rs Outdated Show resolved Hide resolved
manta-pay/src/crypto/key.rs Outdated Show resolved Hide resolved
manta-pay/src/signer/base.rs Outdated Show resolved Hide resolved
manta-crypto/src/key/agreement.rs Outdated Show resolved Hide resolved
manta-crypto/src/encryption/mod.rs Outdated Show resolved Hide resolved
manta-accounting/src/key.rs Outdated Show resolved Hide resolved
manta-crypto/src/constraint.rs Show resolved Hide resolved
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
manta-accounting/src/transfer/mod.rs Show resolved Hide resolved
manta-crypto/src/algebra/diffie_hellman.rs Outdated Show resolved Hide resolved
manta-crypto/src/algebra/diffie_hellman.rs Show resolved Hide resolved
manta-crypto/src/encryption/convert/header.rs Outdated Show resolved Hide resolved
manta-crypto/src/key/kdf.rs Outdated Show resolved Hide resolved
manta-util/src/num.rs Outdated Show resolved Hide resolved
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
@GhostOfGauss GhostOfGauss merged commit c7ca5a9 into main Nov 1, 2022
@GhostOfGauss GhostOfGauss deleted the feat/new-circuits-part-1 branch November 1, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cryptography Area: Issues and PRs related to Cryptography changelog:added Changelog: add these changes to the `added` section of the changelog P-high Priority: High
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants