pub fn batch_evaluate_prepare<'a, I: Iterator<Item = &'a BlindedElement<CS>>>(
        &self,
        blinded_elements: I,
    ) -> VoprfServerBatchEvaluatePreparedEvaluationElements<CS, I>
    where
        CS: 'a,
    {
        blinded_elements
            .zip(iter::repeat(self.sk))
            .map(|(blinded_element, sk)| {
                PreparedEvaluationElement(EvaluationElement(blinded_element.0 * &sk))
            })
    }
/// Alternative version of `batch_evaluate` without
/// memory allocation. Returned [`PreparedEvaluationElement`] have to be
/// [`collect`](Iterator::collect)ed and passed into
/// [`batch_evaluate_finish`](Self::batch_evaluate_finish).
Alternative version of `batch_evaluate` without
memory allocation.
Alternative version of ` batch_evaluate ` without memory allocation .
pub fn batch_evaluate_prepare<'a, I: Iterator<Item = &'a BlindedElement<CS>>>(
        &self,
        blinded_elements: I,
    ) -> VoprfServerBatchEvaluatePreparedEvaluationElements<CS, I>
    where
        CS: 'a,
    {
        blinded_elements
            .zip(iter::repeat(self.sk))
            .map(|(blinded_element, sk)| {
                PreparedEvaluationElement(EvaluationElement(blinded_element.0 * &sk))
            })
    }
pub fn batch_evaluate_prepare < ' a , I : Iterator < Item = & ' a BlindedElement < CS > > > ( & self , blinded_elements : I , ) -> VoprfServerBatchEvaluatePreparedEvaluationElements < CS , I > where CS : ' a , { blinded_elements . zip ( iter :: repeat ( self . sk ) ) . map ( | ( blinded_element , sk ) | { PreparedEvaluationElement ( EvaluationElement ( blinded_element . 0 * & sk ) ) } ) }
Alternative version of `batch_evaluate` without
memory allocation.
Alternative version of ` batch_evaluate ` without memory allocation .
&self
blinded_elements
I
&self
blinded_elements
I