/// Serialises a sharing proof from a miracl-compatible representation to the
/// standard form.
Serialises a sharing proof from a miracl-compatible representation to the
standard form.
Serialises a sharing proof from a miracl - compatible representation to the standard form .
pub fn sharing_proof_from_miracl(sharing_proof: &ProofSharing) -> ZKProofShare {
    ZKProofShare {
        first_move_f: miracl_g1_to_bytes(&sharing_proof.ff),
        first_move_a: miracl_g2_to_bytes(&sharing_proof.aa),
        first_move_y: miracl_g1_to_bytes(&sharing_proof.yy),
        response_z_r: miracl_fr_to_bytes(&sharing_proof.z_r),
        response_z_a: miracl_fr_to_bytes(&sharing_proof.z_alpha),
    }
}
pub fn sharing_proof_from_miracl ( sharing_proof : & ProofSharing ) -> ZKProofShare { ZKProofShare { first_move_f : miracl_g1_to_bytes ( & sharing_proof . ff ) , first_move_a : miracl_g2_to_bytes ( & sharing_proof . aa ) , first_move_y : miracl_g1_to_bytes ( & sharing_proof . yy ) , response_z_r : miracl_fr_to_bytes ( & sharing_proof . z_r ) , response_z_a : miracl_fr_to_bytes ( & sharing_proof . z_alpha ) , } }
Serialises a sharing proof from a miracl-compatible representation to the
standard form.
Serialises a sharing proof from a miracl - compatible representation to the standard form .
sharing_proof
&ProofSharing