Function hacspec_halo2::step_24
source · pub(crate) fn step_24(
p_prime_poly: Polyx,
G: Seq<G1_pallas>,
x3: FpVesta,
z: FpVesta,
U: G1_pallas,
W: G1_pallas,
n: u128,
k: usize,
u: Polyx,
L_blinding: Polyx,
R_blinding: Polyx
) -> (Polyx, Seq<G1_pallas>, Polyx, Seq<G1_pallas>, Seq<G1_pallas>, Polyx, Polyx)Expand description
Step 24 Get G‘, p’, b, L, R, and {L,R} blinds
Arguments
p_prime_poly- the polynomial p’(X) from step_23G- the vector of group elems from public-paramsx3- the challenge from step_15z- the challenge from step_21U- the group elem U from public-paramsW- the group elem U from public-paramsn- n from the protocol preamblek- k from the protocol preambleu- the list of u_j challenges from the verifierL_blinding- the list of blinding to be used for L_jR_blinding- the list of blinding to be used for R_j
Returns
p_prime-Seq<Fp>G_prime-Seq<G1>b-Seq<Fp>L-Seq<G1>the sequence of allL_jR-Seq<G1>the sequence of allR_jL_blinding-Seq<Fp>the sequence of blinding used forL_jR_blinding-Seq<Fp>the sequence of blinding used forR_j