This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use bitcoin_hashes::{sha256, Hash, HashEngine}; | |
use bls12_381::{G1Affine, G1Projective, Scalar}; | |
use core::array; | |
use ff::Field; | |
use group::Curve; | |
use rand::{thread_rng, SeedableRng}; | |
use rand_chacha::ChaChaRng; | |
use std::io::Write; | |
fn prove<const N: usize, const M: usize, const S: usize>( |