cfrg / draft-irtf-cfrg-vdaf

VDAF specification
Other
20 stars 15 forks source link

Duplication of field parameter #480

Closed martinthomson closed 1 month ago

martinthomson commented 1 month ago

The tables that describe Prio3 instantiations all define the field that is used, but they also specify the field as a fixed argument to the "Valid" function. This seems redundant. Is there any reason that the field can't be attached to self, just like the GADGETS and other things are?

Obviously, the functions work with any field that meets the stated requirements. But as a fixed parameter, having it be a property (or field, pun fully intended) of the instance, seems cleaner.