Skip to content

feat(randomness): add BLS2 support#59

Merged
AnomalRoil merged 51 commits into
mainfrom
feat/randomness-bls12_381
Sep 8, 2025
Merged

feat(randomness): add BLS2 support#59
AnomalRoil merged 51 commits into
mainfrom
feat/randomness-bls12_381

Conversation

@bbjubjub2494
Copy link
Copy Markdown
Member

@bbjubjub2494 bbjubjub2494 commented Aug 14, 2025

@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch 2 times, most recently from 4b62cca to eebec5a Compare August 19, 2025 07:16
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from eebec5a to 49af9d2 Compare August 19, 2025 07:33
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch 2 times, most recently from 6084bb2 to 9492e68 Compare August 20, 2025 07:47
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from 9492e68 to 5084aee Compare August 20, 2025 12:43
@bbjubjub2494 bbjubjub2494 marked this pull request as ready for review August 20, 2025 14:04
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from c132f22 to b03e4df Compare August 28, 2025 10:06
@bbjubjub2494 bbjubjub2494 marked this pull request as ready for review August 28, 2025 10:13
Copy link
Copy Markdown
Member

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last batch of comments, LGTM after these

Comment thread randomness-agent/examples/randomness/main.rs Outdated
Comment thread randomness-agent/examples/randomness/main.rs Outdated
Comment thread randomness-agent/examples/randomness/main.rs
Comment thread randomness-agent/examples/randomness/main.rs
Comment thread randomness-agent/examples/randomness/main.rs
Comment thread randomness-agent/examples/randomness/main.rs Outdated
Comment thread randomness-agent/examples/randomness/main.rs Outdated
Comment thread signer/src/bls.rs
Comment on lines +348 to +351
G1Affine<BLS>:
PointSerializeCompressed + PointDeserializeCompressed + PointSerializeUncompressed,
G2Affine<BLS>:
PointSerializeCompressed + PointDeserializeCompressed + PointSerializeUncompressed,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why PointDeserializeCompressed but not PointDeserializeUncompressed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no scenario in which it is actually needed: internally, we serialize and deserialize using the compressed format. If the signature scheme requires it, we can serialize in uncompressed format at the end, but we never deserialize. That said, we could also consider this an implementation detail and hide it. (Or merge the traits tbh)

@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch 3 times, most recently from a1914a5 to 4ab614e Compare September 4, 2025 13:25
Comment thread dcipher-agents/src/decryption_sender/async_signer.rs Outdated
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from 4ab614e to 7b09b56 Compare September 4, 2025 13:34
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from 0ee3436 to 79b3a66 Compare September 5, 2025 09:16
Copy link
Copy Markdown
Contributor

@azixus azixus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good

Comment thread randomness-agent/examples/randomness/arguments_parser.rs Outdated
Base automatically changed from feat/dsigner/grpc to main September 8, 2025 10:23
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from e362387 to 2134fd3 Compare September 8, 2025 12:30
@bbjubjub2494 bbjubjub2494 force-pushed the feat/randomness-bls12_381 branch from 2134fd3 to b59b892 Compare September 8, 2025 12:39
@AnomalRoil AnomalRoil merged commit 6fd2d58 into main Sep 8, 2025
5 checks passed
@AnomalRoil AnomalRoil deleted the feat/randomness-bls12_381 branch September 8, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants