Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back
DpConfig
and the length prefixes in VdafConfig
and `Quer…
…yConfig` A previous commit f8cedf1, the `DpConfig` structure was replaced with an opaque byte string that the parties are meant to ignore. We don't want the parties to ignore unrecognized parameters: they should opt out instead. This change specifies that the content should be a `DpConfig`. We also remove the length prefix from that structure, since it's no longer needed. The same commit removed the length prefixes from `VdafConfig` and `QueryConfig`. This is a regression because it means the encoding of the `TaskConfig` is no longer self-describing. In particular, it forces to conflate opt-out due to unrecognized variants (an unimplemented VDAF, say) with serialization errors. Solve this by adding back the length prefixes.
- Loading branch information