-
Notifications
You must be signed in to change notification settings - Fork 174
feat: switch from num-bigint-dig to crypto-bigint #394
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
Merged
+1,213
−945
Merged
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
fcc3577
implement minimal decryption routine using BoxedUint
dignifiedquire bc92994
convert internals to use crypto-bigint
dignifiedquire 21b7c81
store residue_params
dignifiedquire 98a86a2
implement blinding (tests failing currently)
dignifiedquire f4131c5
fix blinding and fold in new impl
dignifiedquire 2dafa35
implement basic widening strategy
dignifiedquire cb7d486
fix some widening/padding
dignifiedquire fd19c88
cleanup rsa algorithm
dignifiedquire 813fe77
docs and debugging
dignifiedquire efc4460
fix crt value calculation in decryption
dignifiedquire 9fde5fb
cleanup
dignifiedquire 3f1751e
convert core key algorithms
dignifiedquire b795c22
cache p and q params
dignifiedquire 6481533
convert hazmt decrypt interface
dignifiedquire 97f8fa4
use crypto-bigint for encryption
dignifiedquire cc3f03b
convert more internal use to crypto-bigint
dignifiedquire d02fbe7
use crypto-bigint in signatuers
dignifiedquire a5fc616
convert from_components internally and pss signature
dignifiedquire 7211bfa
cleanup rsapublickey
dignifiedquire c071ba1
store exponent as u64
dignifiedquire a811be0
fix: handle large m2
dignifiedquire 102953d
cache boxedresiduie for qinv
dignifiedquire 57d6f95
use some assign operations
dignifiedquire 2cdd37c
update to latest crypto-bigint
dignifiedquire f7fa669
update crypto-bigint
dignifiedquire 851cbac
use branch
dignifiedquire 37558f6
use BoxedResidueParams::new_vartime
dignifiedquire 2634f65
update to latest master
dignifiedquire 56f6f27
switch to latest crypto-bigint
dignifiedquire fab7852
cleanup
dignifiedquire 71a3506
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire 98f3faa
chore: update MSRV to 1.73
dignifiedquire 0db6317
refactor: remove remaining usage of num-bigint
dignifiedquire b2bb016
handle encoding sizes
dignifiedquire c52a90a
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire 040f8b0
small fixes
dignifiedquire 7b2aa3d
update deps
dignifiedquire a2d4998
widen and shorten
dignifiedquire cf3548b
some encoding fixes
dignifiedquire 3ef5f3f
fix serde tests
dignifiedquire bd308a4
fix pkcs test parsing
dignifiedquire 1b070ca
fix oaep test decoding
dignifiedquire 2badede
add doc comments
dignifiedquire ee6b31a
improve feature selection
dignifiedquire 64386b4
drop nightly feature
dignifiedquire 53781fb
update subtle min version
dignifiedquire 9c15ea9
happy clippy
dignifiedquire 926e947
pad pass keys
dignifiedquire f747778
fix recovery
dignifiedquire bfba03a
disable slow tests for now
dignifiedquire 7da4ec2
fix most pss tests
dignifiedquire 63c14a3
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire f61ed75
fix proptest
dignifiedquire 74d3197
fixup
dignifiedquire ea2236d
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire 1794360
refactor: switch exponent to BoxedUint
dignifiedquire ac41749
update to latest crypto bigint
dignifiedquire 3ff3c10
fixup benchmark code
dignifiedquire 5402e8c
Fix 2049 bit RSA issues and roundtrip PKCS#1 and PKCS#8
Fethbita ec599ee
Fix clippy and fmt issues
Fethbita e15b6a4
Fix the doctests in Oaep
Fethbita dcc85c6
small cleanup and feature fix
dignifiedquire 4b68379
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire b8312e9
remove unused ci step
dignifiedquire ffdc5c2
fix: handle wasm compiliaton
dignifiedquire d675b13
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire cd99409
cleanup and disallow unwraps
dignifiedquire c64c8ec
core error
dignifiedquire d755f51
sigh
dignifiedquire 8064585
apply CR
dignifiedquire 8cb0865
ci: update nightly
dignifiedquire 9571ec9
update to latest deps & fix padding issue
dignifiedquire 3a0201c
fix: implement ln fallback locally
dignifiedquire cd906e7
apply CR
dignifiedquire 1f0bc91
update serdect
dignifiedquire 578ada0
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.