fn hash_to_curve()

in src/group/elliptic_curve.rs [41:51]


    fn hash_to_curve<CS: CipherSuite>(
        input: &[&[u8]],
        dst: &[u8],
    ) -> Result<Self::Elem, InternalError>
    where
        <CS::Hash as OutputSizeUser>::OutputSize:
            IsLess<U256> + IsLessOrEqual<<CS::Hash as BlockSizeUser>::BlockSize>,
    {
        Self::hash_from_bytes::<ExpandMsgXmd<CS::Hash>>(input, dst)
            .map_err(|_| InternalError::Input)
    }