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: switch from num-bigint-dig to crypto-bigint #394

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
69 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
ea2236d
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire Nov 6, 2024
1794360
refactor: switch exponent to BoxedUint
dignifiedquire Nov 6, 2024
ac41749
update to latest crypto bigint
dignifiedquire Nov 6, 2024
3ff3c10
fixup benchmark code
dignifiedquire Nov 6, 2024
5402e8c
Fix 2049 bit RSA issues and roundtrip PKCS#1 and PKCS#8
Fethbita Dec 1, 2024
ec599ee
Fix clippy and fmt issues
Fethbita Dec 1, 2024
e15b6a4
Fix the doctests in Oaep
Fethbita Dec 1, 2024
dcc85c6
small cleanup and feature fix
dignifiedquire Dec 1, 2024
4b68379
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire Dec 1, 2024
b8312e9
remove unused ci step
dignifiedquire Dec 1, 2024
ffdc5c2
fix: handle wasm compiliaton
dignifiedquire Dec 1, 2024
d675b13
Merge remote-tracking branch 'origin/master' into const-crypto-biguint
dignifiedquire Dec 17, 2024
cd99409
cleanup and disallow unwraps
dignifiedquire Dec 17, 2024
c64c8ec
core error
dignifiedquire Dec 17, 2024
d755f51
sigh
dignifiedquire Dec 17, 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