fn gen_challenge(
    signing_package: &SigningPackage,
    group_commitment: &GroupCommitment,
    group_public: &VerificationKey<SpendAuth>,
) -> Scalar {
    let group_commitment_bytes = jubjub::AffinePoint::from(group_commitment.0).to_bytes();

    HStar::default()
        .update(group_commitment_bytes)
        .update(group_public.bytes.bytes)
        .update(signing_package.message)
        .finalize()
}
/// Generates the challenge as is required for Schnorr signatures.
Generates the challenge as is required for Schnorr signatures.
Generates the challenge as is required for Schnorr signatures .
fn gen_challenge(
    signing_package: &SigningPackage,
    group_commitment: &GroupCommitment,
    group_public: &VerificationKey<SpendAuth>,
) -> Scalar {
    let group_commitment_bytes = jubjub::AffinePoint::from(group_commitment.0).to_bytes();
    HStar::default()
        .update(group_commitment_bytes)
        .update(group_public.bytes.bytes)
        .update(signing_package.message)
        .finalize()
}
fn gen_challenge ( signing_package : & SigningPackage , group_commitment : & GroupCommitment , group_public : & VerificationKey < SpendAuth > , ) -> Scalar { let group_commitment_bytes = jubjub :: AffinePoint :: from ( group_commitment . 0 ) . to_bytes ( ) ; HStar :: default ( ) . update ( group_commitment_bytes ) . update ( group_public . bytes . bytes ) . update ( signing_package . message ) . finalize ( ) }
Generates the challenge as is required for Schnorr signatures.
Generates the challenge as is required for Schnorr signatures .
signing_package
&SigningPackage
group_commitment
&GroupCommitment
group_public
&VerificationKey<SpendAuth>