@@ -35,9 +35,9 @@ pub trait GroupDigest: CurveArithmetic<ProjectivePoint: CofactorGroup, Scalar: F
3535 ///
3636 /// [`ExpandMsgXmd`]: crate::hash2curve::ExpandMsgXmd
3737 /// [`ExpandMsgXof`]: crate::hash2curve::ExpandMsgXof
38- fn hash_from_bytes < ' a , X > ( msg : & [ & [ u8 ] ] , dst : & ' a [ & ' a [ u8 ] ] ) -> Result < ProjectivePoint < Self > >
38+ fn hash_from_bytes < X > ( msg : & [ & [ u8 ] ] , dst : & [ & [ u8 ] ] ) -> Result < ProjectivePoint < Self > >
3939 where
40- X : ExpandMsg < ' a , Self :: K > ,
40+ X : ExpandMsg < Self :: K > ,
4141 {
4242 let mut u = [ Self :: FieldElement :: default ( ) , Self :: FieldElement :: default ( ) ] ;
4343 hash_to_field :: < X , _ , _ > ( msg, dst, & mut u) ?;
@@ -75,9 +75,9 @@ pub trait GroupDigest: CurveArithmetic<ProjectivePoint: CofactorGroup, Scalar: F
7575 ///
7676 /// [`ExpandMsgXmd`]: crate::hash2curve::ExpandMsgXmd
7777 /// [`ExpandMsgXof`]: crate::hash2curve::ExpandMsgXof
78- fn encode_from_bytes < ' a , X > ( msg : & [ & [ u8 ] ] , dst : & ' a [ & ' a [ u8 ] ] ) -> Result < ProjectivePoint < Self > >
78+ fn encode_from_bytes < X > ( msg : & [ & [ u8 ] ] , dst : & [ & [ u8 ] ] ) -> Result < ProjectivePoint < Self > >
7979 where
80- X : ExpandMsg < ' a , Self :: K > ,
80+ X : ExpandMsg < Self :: K > ,
8181 {
8282 let mut u = [ Self :: FieldElement :: default ( ) ] ;
8383 hash_to_field :: < X , _ , _ > ( msg, dst, & mut u) ?;
@@ -98,9 +98,9 @@ pub trait GroupDigest: CurveArithmetic<ProjectivePoint: CofactorGroup, Scalar: F
9898 ///
9999 /// [`ExpandMsgXmd`]: crate::hash2curve::ExpandMsgXmd
100100 /// [`ExpandMsgXof`]: crate::hash2curve::ExpandMsgXof
101- fn hash_to_scalar < ' a , X > ( msg : & [ & [ u8 ] ] , dst : & ' a [ & ' a [ u8 ] ] ) -> Result < Self :: Scalar >
101+ fn hash_to_scalar < X > ( msg : & [ & [ u8 ] ] , dst : & [ & [ u8 ] ] ) -> Result < Self :: Scalar >
102102 where
103- X : ExpandMsg < ' a , Self :: K > ,
103+ X : ExpandMsg < Self :: K > ,
104104 {
105105 let mut u = [ Self :: Scalar :: default ( ) ] ;
106106 hash_to_field :: < X , _ , _ > ( msg, dst, & mut u) ?;
0 commit comments