scipr-lab / libff

C++ library for Finite Fields and Elliptic Curves
Other
149 stars 82 forks source link

Add binary fields and their tests #86

Closed alexander-zw closed 3 years ago

alexander-zw commented 3 years ago

Description

Added binary fields from libiop in libff/algebra/binary/ as well as their tests: one new file and one in all_fields_test.cpp. The fields were updated to match the API, especially to/from_words() and ceil/floor_size_in_bits().

closes: N/A


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.