Skip to content

Commit

Permalink
Baby bear extension (#942)
Browse files Browse the repository at this point in the history
* wip

* add byte conversion for quartic

* fft tests for baby bear quartic extension working

* add test / add comments

* fix typo

* fix clippy

* add test inv of zero error

* fix fmt

* fix clippy and doc

* resolve PR comments

* remove commented code

---------

Co-authored-by: Joaquin Carletti <joaquin.carletti@lambdaclass.com>
Co-authored-by: Nicole <nicole@Nicoles-MacBook-Air.local>
Co-authored-by: jotabulacios <jbulacios@fi.uba.ar>
Co-authored-by: jotabulacios <45471455+jotabulacios@users.noreply.github.com>
Co-authored-by: Diego K <43053772+diegokingston@users.noreply.github.com>
  • Loading branch information
6 people authored Dec 11, 2024
1 parent e443c93 commit 7b5a638
Show file tree
Hide file tree
Showing 2 changed files with 571 additions and 0 deletions.
2 changes: 2 additions & 0 deletions math/src/field/fields/fft_friendly/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
pub mod babybear;
/// Implemenation of the quadratic extension of the babybear field
pub mod quadratic_babybear;
/// Implemenation of the quadric extension of the babybear field
pub mod quartic_babybear;
/// Implementation of the prime field used in [Stark101](https://starkware.co/stark-101/) tutorial, p = 3 * 2^30 + 1
pub mod stark_101_prime_field;
/// Implementation of two-adic prime field over 256 bit unsigned integers.
Expand Down
Loading

0 comments on commit 7b5a638

Please sign in to comment.