pub struct KzgProof {}
Implementations§
source§impl KzgProof
impl KzgProof
pub fn verify_kzg_proof( commitment_bytes: &Bytes48, z_bytes: &Bytes32, y_bytes: &Bytes32, proof_bytes: &Bytes48, kzg_settings: &KzgSettings, ) -> Result<bool, KzgError>
pub fn verify_kzg_proof_batch( commitments: &[G1Affine], zs: &[Scalar], ys: &[Scalar], proofs: &[G1Affine], kzg_settings: &KzgSettings, ) -> Result<bool, KzgError>
pub fn verify_blob_kzg_proof( blob: Blob, commitment_bytes: &Bytes48, proof_bytes: &Bytes48, kzg_settings: &KzgSettings, ) -> Result<bool, KzgError>
pub fn verify_blob_kzg_proof_batch( blobs: Vec<Blob>, commitments_bytes: Vec<Bytes48>, proofs_bytes: Vec<Bytes48>, kzg_settings: &KzgSettings, ) -> Result<bool, KzgError>
Auto Trait Implementations§
impl Freeze for KzgProof
impl RefUnwindSafe for KzgProof
impl Send for KzgProof
impl Sync for KzgProof
impl Unpin for KzgProof
impl UnwindSafe for KzgProof
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more