File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ mod tests {
355355 // in parts
356356 let u = hash2curve:: hash_to_field :: <
357357 2 ,
358- ExpandMsgXmd < Sha256 > ,
358+ ExpandMsgXmd < ' _ , Sha256 > ,
359359 <Secp256k1 as GroupDigest >:: K ,
360360 FieldElement ,
361361 > ( & [ test_vector. msg ] , & [ DST ] )
@@ -379,8 +379,9 @@ mod tests {
379379 assert_eq ! ( ap. y. to_bytes( ) . as_slice( ) , test_vector. p_y) ;
380380
381381 // complete run
382- let pt = Secp256k1 :: hash_from_bytes :: < ExpandMsgXmd < Sha256 > > ( & [ test_vector. msg ] , & [ DST ] )
383- . unwrap ( ) ;
382+ let pt =
383+ Secp256k1 :: hash_from_bytes :: < ExpandMsgXmd < ' _ , Sha256 > > ( & [ test_vector. msg ] , & [ DST ] )
384+ . unwrap ( ) ;
384385 let apt = pt. to_affine ( ) ;
385386 assert_eq ! ( apt. x. to_bytes( ) . as_slice( ) , test_vector. p_x) ;
386387 assert_eq ! ( apt. y. to_bytes( ) . as_slice( ) , test_vector. p_y) ;
You can’t perform that action at this time.
0 commit comments