Skip to content

Enhance the BLS library to be fit-for-purpose #1

Closed
@paulhauner

Description

@paulhauner

Presently the code-base is missing the following features for BLS signatures and public keys:

  1. Support for aggregate pub keys. Presently there is support for aggregate signatures, but not aggregate public keys, meaning each pubkey needs to be individually checked against the aggregate sig.
  2. Ability to be cloned (i.e., they don't have the Clone trait)
  3. Ability to be encoded to some primitive then have that be decoded back to a proper struct. For example, writing to a byte-array/integer then reading back again.
  4. Closely related to (and dependent on) (2), they need to support RLP encoding and decoding. This probably requires the EF researchers to pick a format for this.

With regards to (1), I'm not even certain if aggregating the keys then verifying them even gives a better result. I.e., is it actually quicker to add them all together then verify once, or is it quicker to just verify them all individually? I'm presently assuming the latter is quicker but I don't know for sure.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions