cfrg / draft-irtf-cfrg-vdaf

VDAF specification
Other
20 stars 15 forks source link

IDPF: Consider replacing `Field2` with bool #496

Closed cjpatton closed 1 month ago

cjpatton commented 1 month ago

We adopted Field2 so that we can make arithmetic constant time. We then later decided this was harder to read and decided instead to tell implementers in prose how to deal with side channels.

In Mastic, we took this a step further by using bool for the control bits. I think this is a lot clearer.