MCPcopy Create free account
hub / github.com/arkworks-rs/poly-commit / rand_poly

Function rand_poly

poly-commit/src/ipa_pc/mod.rs:1066–1072  ·  view source on GitHub ↗
(
        degree: usize,
        _: Option<usize>,
        rng: &mut ChaCha20Rng,
    )

Source from the content-addressed store, hash-verified

1064 type PC_JJB2S = PC<EdwardsAffine, Blake2s256, UniPoly>;
1065
1066 fn rand_poly<F: PrimeField>(
1067 degree: usize,
1068 _: Option<usize>,
1069 rng: &mut ChaCha20Rng,
1070 ) -> DensePoly<F> {
1071 DensePoly::rand(degree, rng)
1072 }
1073
1074 fn constant_poly<F: PrimeField>(
1075 _: usize,

Callers 8

bad_degree_bound_testFunction · 0.50
test_templateFunction · 0.50
equation_test_templateFunction · 0.50
commitFunction · 0.50
commitment_sizeFunction · 0.50
openFunction · 0.50
proof_sizeFunction · 0.50
verifyFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_templateFunction · 0.40