-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add partial coordinates #122
base: develop
Are you sure you want to change the base?
Conversation
f31bb46
to
a476bc5
Compare
f37d53f
to
ca3f1cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refacto!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great job!
I suppose you will complete this PR with benches and the last item of you WIP list.
Otherwise, all good to me.
- remove benches (see `fix/benches`) - remove `serialization` feature to fix tests that depend on it.
Simplify parsing code and correct parsing errors. Notice that now, empty access policies can be parsed. Parsing should be more efficient too, but we lack benchmarks for that. The only downside is that allowing '&' or '|' inside attributes is painful to write. I consider it an acceptable limitation to the expressivness allowed by the parsing operation. This is a breaking change though. All "Department::R&D" attributes have been renamed into "Department::RD".
…124) feat: add partial coordinates fix: cargo test --all-features - remove benches (see `fix/benches`) - remove `serialization` feature to fix tests that depend on it. fix: access policy parsing Simplify parsing code and correct parsing errors. Notice that now, empty access policies can be parsed. Parsing should be more efficient too, but we lack benchmarks for that. The only downside is that allowing '&' or '|' inside attributes is painful to write. I consider it an acceptable limitation to the expressivness allowed by the parsing operation. This is a breaking change though. All "Department::R&D" attributes have been renamed into "Department::RD". fix: access policy parsing rename!: rename `from_boolean_expression` into `parse` fix: neats
Work done in `feat/partial_coordinates` breaks the current benchmarks. Later MR will reintroduce new benchmarks compatible with the new inner workings of the key derivation.
f3e6134
to
5275698
Compare
wip: feat: merge msk/mpk removing buggy benches fix: `crypto_core` dependency link fix: cleanup remaining mention of Curve25519 in `primitives.rs` fix: tests encaps/decaps fix: serialization fix: rebase fix: rename ElGamal encryption to masking primitives fix: review Rename `chronological_iter` back to `bfs`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have real comments on this PR
Co-authored-by: Théophile BRÉZOT <theophile.brezot@cosmian.com>
Co-authored-by: Théophile BRÉZOT <theophile.brezot@cosmian.com>
Co-authored-by: Théophile BRÉZOT <theophile.brezot@cosmian.com>
Merge policy object
Partial coordinates allow ciphertexts created with an access policy "D1::A" not to be invalidated upon addition or deletion of another dimension/attribute.
The number of coordinate derived from the policy ("universe") is the product of the cardinal of the dimensions, plus one:
Breaking changes
Work in progress