This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ pub fn multi_miller_loop_generic<Curve: Pairing>(
2121) -> Result < Vec < u8 > , PairingError > {
2222 let g1: Vec < _ > = a_vec
2323 . chunks ( <Curve as Pairing >:: G1Affine . serialized_size ( Compress :: No ) )
24- . into_iter ( )
24+ . iter ( )
2525 . map ( |elem| deserialize_argument :: < <Curve as Pairing >:: G1Affine > ( elem) )
2626 . collect ( ) ;
2727 let g2: Vec < _ > = b_vec
2828 . chunks ( <Curve as Pairing >:: G2Affine . serialized_size ( Compress :: No ) )
29- . into_iter ( )
29+ . iter ( )
3030 . map ( |elem| deserialize_argument :: < <Curve as Pairing >:: G2Affine > ( elem) )
3131 . collect ( ) ;
3232
@@ -51,7 +51,7 @@ pub fn final_exponentiation_generic<Curve: Pairing>(
5151pub fn msm_g1_generic < Curve : Pairing > ( bases : Vec < u8 > , scalars : Vec < u8 > ) -> Vec < u8 > {
5252 let bases: Vec < _ > = bases
5353 . chunks ( <Curve as Pairing >:: G1Affine . serialized_size ( Compress :: No ) )
54- . into_iter ( )
54+ . iter ( )
5555 . map ( |a| deserialize_argument :: < <Curve as Pairing >:: G1Affine > ( a) )
5656 . collect ( ) ;
5757 let scalars: Vec < _ > =
@@ -66,7 +66,7 @@ pub fn msm_g1_generic<Curve: Pairing>(bases: Vec<u8>, scalars: Vec<u8>) -> Vec<u
6666pub fn msm_g2_generic < Curve : Pairing > ( bases : Vec < u8 > , scalars : Vec < u8 > ) -> Vec < u8 > {
6767 let bases: Vec < _ > = bases
6868 . chunks ( <Curve as Pairing >:: G2Affine . serialized_size ( Compress :: No ) )
69- . into_iter ( )
69+ . iter ( )
7070 . map ( |a| deserialize_argument :: < <Curve as Pairing >:: G2Affine > ( a) )
7171 . collect ( ) ;
7272 let scalars: Vec < _ > =
You can’t perform that action at this time.
0 commit comments