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

[WIP]: switch to crypto-bigint for decryption #394

Draft
wants to merge 54 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
fcc3577
implement minimal decryption routine using BoxedUint
dignifiedquire Nov 29, 2023
bc92994
convert internals to use crypto-bigint
dignifiedquire Nov 29, 2023
21b7c81
store residue_params
dignifiedquire Nov 29, 2023
98a86a2
implement blinding (tests failing currently)
dignifiedquire Nov 29, 2023
f4131c5
fix blinding and fold in new impl
dignifiedquire Nov 29, 2023
2dafa35
implement basic widening strategy
dignifiedquire Nov 29, 2023
cb7d486
fix some widening/padding
dignifiedquire Nov 29, 2023
fd19c88
cleanup rsa algorithm
dignifiedquire Nov 29, 2023
813fe77
docs and debugging
dignifiedquire Nov 29, 2023
efc4460
fix crt value calculation in decryption
dignifiedquire Nov 30, 2023
9fde5fb
cleanup
dignifiedquire Nov 30, 2023
3f1751e
convert core key algorithms
dignifiedquire Nov 30, 2023
b795c22
cache p and q params
dignifiedquire Nov 30, 2023
6481533
convert hazmt decrypt interface
dignifiedquire Nov 30, 2023
97f8fa4
use crypto-bigint for encryption
dignifiedquire Dec 1, 2023
cc3f03b
convert more internal use to crypto-bigint
dignifiedquire Dec 1, 2023
d02fbe7
use crypto-bigint in signatuers
dignifiedquire Dec 1, 2023
a5fc616
convert from_components internally and pss signature
dignifiedquire Dec 1, 2023
7211bfa
cleanup rsapublickey
dignifiedquire Dec 1, 2023
c071ba1
store exponent as u64
dignifiedquire Dec 1, 2023
a811be0
fix: handle large m2
dignifiedquire Dec 2, 2023
102953d
cache boxedresiduie for qinv
dignifiedquire Dec 2, 2023
57d6f95
use some assign operations
dignifiedquire Dec 2, 2023
2cdd37c
update to latest crypto-bigint
dignifiedquire Dec 4, 2023
f7fa669
update crypto-bigint
dignifiedquire Dec 5, 2023
851cbac
use branch
dignifiedquire Dec 7, 2023
37558f6
use BoxedResidueParams::new_vartime
dignifiedquire Dec 7, 2023
2634f65
update to latest master
dignifiedquire Dec 14, 2023
56f6f27
switch to latest crypto-bigint
dignifiedquire Mar 22, 2024
fab7852
cleanup
dignifiedquire Mar 22, 2024
71a3506
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire Mar 22, 2024
98f3faa
chore: update MSRV to 1.73
dignifiedquire Mar 22, 2024
0db6317
refactor: remove remaining usage of num-bigint
dignifiedquire Mar 25, 2024
b2bb016
handle encoding sizes
dignifiedquire Mar 25, 2024
c52a90a
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire Jul 6, 2024
040f8b0
small fixes
dignifiedquire Jul 6, 2024
7b2aa3d
update deps
dignifiedquire Jul 6, 2024
a2d4998
widen and shorten
dignifiedquire Jul 6, 2024
cf3548b
some encoding fixes
dignifiedquire Jul 6, 2024
3ef5f3f
fix serde tests
dignifiedquire Jul 6, 2024
bd308a4
fix pkcs test parsing
dignifiedquire Jul 6, 2024
1b070ca
fix oaep test decoding
dignifiedquire Jul 6, 2024
2badede
add doc comments
dignifiedquire Jul 6, 2024
ee6b31a
improve feature selection
dignifiedquire Jul 6, 2024
64386b4
drop nightly feature
dignifiedquire Jul 6, 2024
53781fb
update subtle min version
dignifiedquire Jul 6, 2024
9c15ea9
happy clippy
dignifiedquire Jul 6, 2024
926e947
pad pass keys
dignifiedquire Jul 7, 2024
f747778
fix recovery
dignifiedquire Aug 11, 2024
bfba03a
disable slow tests for now
dignifiedquire Aug 11, 2024
7da4ec2
fix most pss tests
dignifiedquire Aug 11, 2024
63c14a3
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire Aug 11, 2024
f61ed75
fix proptest
dignifiedquire Aug 11, 2024
74d3197
fixup
dignifiedquire Aug 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
rust:
- 1.72.0 # MSRV
- 1.73.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
rust:
- 1.72.0 # MSRV
- 1.73.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading