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

Refactor UInt{8,16,64,128} into one struct UInt #121

Merged
merged 32 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3dc860f
WIP
Pratyush Jan 19, 2023
e11a061
WIP
Pratyush Jan 20, 2023
765cff9
Work
Pratyush May 10, 2023
454ffce
Improve tests
Pratyush May 10, 2023
cedd4f8
Better tests
Pratyush May 10, 2023
3144adc
Clean up `Boolean` too
Pratyush May 10, 2023
c6a484c
Small clean up
Pratyush May 10, 2023
9638ace
Add code for comparison and for rotates
Pratyush May 11, 2023
12d6371
Incorporate fix
Pratyush May 11, 2023
f33296f
Merge
Pratyush May 11, 2023
dda5aef
Fix `no-std`
Pratyush May 11, 2023
700caee
Fix tests
Pratyush May 11, 2023
983bbab
`add_many` -> `wrapping_add` + fixes
Pratyush May 17, 2023
c5d8cf6
Fix
Pratyush May 18, 2023
da374f9
Move and test `select`
Pratyush May 18, 2023
f6922f7
Refactor booleans
Pratyush Jun 7, 2023
d303955
Move bit and byte converstions into their own files
Pratyush Jun 7, 2023
5c8087f
Clean up
Pratyush Jun 7, 2023
19bec75
Make `boolean` and `uint` top level modules and remove `bits`
Pratyush Jun 7, 2023
2dd5f32
Update `to_constraint_field_test`
Pratyush Jun 7, 2023
4f00cdb
Fix doc tests
Pratyush Jun 7, 2023
006f090
Introduce `PrimUInt` trait and implement `saturating_add`
Pratyush Jun 8, 2023
e3e6d73
Merge
Pratyush Dec 28, 2023
4cee8fd
Fix
Pratyush Dec 28, 2023
debc071
Merge again
Pratyush Dec 28, 2023
fc7dab5
`no-std` fix
Pratyush Dec 28, 2023
4554458
doc fixes
Pratyush Dec 28, 2023
e8f8b3b
Temp tweak for CI
Pratyush Dec 28, 2023
fd16996
Add `Shl` and `Shr`
Pratyush Dec 28, 2023
276979d
Format
Pratyush Dec 28, 2023
b04936b
Fix
Pratyush Dec 28, 2023
061fc30
Revert CI change
Pratyush Dec 28, 2023
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["zero-knowledge", "cryptography", "zkSNARK", "SNARK", "r1cs"]
categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2018"
edition = "2021"

[dependencies]
ark-ff = { version = "0.4.0", default-features = false }
Expand Down
Loading