binius_core::protocols::fri

Function commit_interleaved

source
pub fn commit_interleaved<F, FA, P, PA, VCS>(
    rs_code: &ReedSolomonCode<PA>,
    log_batch_size: usize,
    vcs: &VCS,
    message: &[P],
) -> Result<CommitOutput<P, VCS::Commitment, VCS::Committed>, Error>
where F: BinaryField + ExtensionField<FA>, FA: BinaryField, P: PackedFieldIndexable<Scalar = F> + PackedExtension<FA, PackedSubfield = PA>, PA: PackedFieldIndexable<Scalar = FA>, VCS: VectorCommitScheme<F>,
Expand description

Encodes and commits the input message.

ยงArguments

  • rs_code - the Reed-Solomon code to use for encoding
  • log_batch_size - the base-2 logarithm of the batch size of the interleaved code.
  • vcs - the vector commitment scheme to use for committing
  • message - the interleaved message to encode and commit