Repository navigation
fix(crypto): address audit findings in crypto module #67
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
Open
Federico2014
wants to merge
33
commits into
release_v4.8.3
Choose a base branch
from
fix/zellic_audit_crypto
base: release_v4.8.3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
98b8afa
docs(crypto): clarify digest padding documentation
Federico2014 8dd4511
fix(crypto): override Keccak state copying
Federico2014 4ca2f9e
fix(crypto): clear Keccak buffers on reset
Federico2014 fe95ef6
fix(crypto): reject incompatible digest copies
Federico2014 72da735
fix(crypto): initialize digest length eagerly
Federico2014 4663fae
fix(keystore): reject corrupted password input
Federico2014 26b6908
fix(keystore): make wallet filename helper private
Federico2014 bda8eb6
fix(keystore): sync wallet files and directories
Federico2014 05d1465
fix(keystore): avoid reopening temporary files
Federico2014 8655178
fix(keystore): reject malformed wallet files
Federico2014 2de697b
docs(keystore): clarify discovery validation
Federico2014 3ffe91d
fix(keystore): validate wallet creation inputs
Federico2014 9b6228e
fix(keystore): guard console errors and salt size
Federico2014 3a3538d
fix(crypto): keep Miller loop points in homogeneous type
Federico2014 64722ab
fix(crypto): use BouncyCastle for provider-less jce helpers
Federico2014 0048edb
fix(crypto): validate blake2f output buffer before compression
Federico2014 b94a357
fix(crypto): stop declaring blake2f digest cloneable
Federico2014 2757b3f
fix(crypto): honor offset in blake2f digest output
Federico2014 d8b5152
fix(crypto): include recovery id in ECDSA signature equality
Federico2014 cd85109
fix(crypto): tolerate invalid recId candidates when signing
Federico2014 92c1093
fix(crypto): make missing private key an IllegalStateException
Federico2014 e3657d6
docs(crypto): document recovery exceptions in ECKey
Federico2014 316f88e
fix(crypto): validate public key format in computeAddress
Federico2014 a61724b
fix(crypto): reject point at infinity in computeAddress
Federico2014 aa73cc6
fix(crypto): correct Fp2 representation and toString
Federico2014 342ed30
perf(crypto): specialize Fp2 arithmetic
Federico2014 c61e533
refactor(crypto): unify zksnark non-residue definitions
Federico2014 52de7b8
perf(crypto): use endomorphism for G2 subgroup check
Federico2014 8d49862
fix(crypto): reject negative scalars in BN128.mul
Federico2014 04d35bf
fix(crypto): address review comments
Federico2014 cf8f5d4
fix(crypto): remove directory syncing
Federico2014 66540cd
refactor(crypto): split BN128 optimizations
Federico2014 f21fcc1
fix(crypto): stop declaring ECKey serializable
Federico2014 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.