halo2_base::utils

Function biguint_to_fe

Source
pub fn biguint_to_fe<F: BigPrimeField>(e: &BigUint) -> F
Expand description

Converts an immutable reference to BigUint to a BigPrimeField.

  • e: immutable reference to BigUint

ยงAssumptions:

  • e is less than the modulus of F