Skip to main content

Module foreign_field

Module foreign_field 

Source
Expand description

Describes helpers for foreign field arithmetics Generic parameters are as follows:

  • B is a bit length of one limb
  • N is a number of limbs that is used to represent one foreign field element

Re-exportsยง

use crate::field_helpers::FieldHelpers; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’
use ark_ff::Field; ๐Ÿ”’
use ark_ff::PrimeField; ๐Ÿ”’
use core::fmt::Debug; ๐Ÿ”’
use core::fmt::Debug; ๐Ÿ”’
use core::fmt::Formatter; ๐Ÿ”’
use core::ops::Index; ๐Ÿ”’
use core::ops::IndexMut; ๐Ÿ”’
use num_bigint::BigUint; ๐Ÿ”’

Structsยง

ForeignElement
Represents a foreign field element Represents a foreign field element

Traitsยง

ForeignFieldHelpers
Foreign field helpers for B the limb size.