fn hash_to_scalar()

in src/group/elliptic_curve.rs [54:64]


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