cfrg / draft-irtf-cfrg-voprf

Oblivious Pseudorandom Functions (OPRFs) using Prime-Order Groups
https://cfrg.github.io/draft-irtf-cfrg-voprf/#go.draft-irtf-cfrg-voprf.html
Other
39 stars 15 forks source link

PublicInput and PrivateInput length bounds #326

Closed chris-wood closed 2 years ago

chris-wood commented 2 years ago

These are currently 2^13, but they should be 2^16, since we encode their length in two bytes Edit: Oops, duh, this is correct.

We could remove this constraint since these are currently passed as inputs to hash functions, but then we would need to define the limits of these hash functions, which we should probably do anyway.

chris-wood commented 2 years ago

Related: https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/issues/336