cfrg / draft-irtf-cfrg-vdaf

VDAF specification
Other
20 stars 15 forks source link

Create a base class for `Daf` and `Vdaf` #490

Closed cjpatton closed 1 month ago

cjpatton commented 1 month ago

Sharding, aggregation, and unsharding are meant to be identical, but we don't currently enforce this in the API.

Create a base class for sharding, aggregation, and unsharding of whichDaf and Vdaf are a subclass that define different APIs for preparation.

divergentdave commented 1 month ago

2024/10/16 call: This would be in the reference implementation only (so the type checker can catch it if we fail to keep common methods between DAF and VDAF in sync again), and not affect the draft itself.