You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is unsafe in downstream use cases for PrimeField::to_repr and PrimeField::from_repr to have ambiguous endianness. (E.g., it's oftentimes hard to implement something for ff::PrimeField without assuming something about endianness.)
Can you either add an ENDIANNESS const or functions like to_bytes_le and from_bytes_le?
The text was updated successfully, but these errors were encountered:
It is unsafe in downstream use cases for
PrimeField::to_repr
andPrimeField::from_repr
to have ambiguous endianness. (E.g., it's oftentimes hard to implement something forff::PrimeField
without assuming something about endianness.)Can you either add an
ENDIANNESS
const or functions liketo_bytes_le
andfrom_bytes_le
?The text was updated successfully, but these errors were encountered: