Can we include p anyway?


On 1 May 2014 17:35:52 Mohammed Attia <notifications@github.com> wrote:

> > +            
> :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
> > +            provider.
> > +
> > +        :returns:
> > +            
> :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricVerificationContext`
> > +
> > +    .. method:: dsa_hash_supported(algorithm):
> > +
> > +        :param algorithm: An instance of a
> > +            
> :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
> > +            provider.
> > +
> > +        :returns: ``True`` if the specified ``algorithm`` is supported 
> by this
> > +            backend, otherwise ``False``.
> > +
> > +    .. method:: dsa_parameters_supported(p, q):
>
> Because ``g`` is dependent on ``p`` i.e. ``g`` is always < ``p``, so if 
> ``p`` is supported then ``g`` is. --This check is basically for filtering 
> values incompatible with OpenSSL < 1.0.0--
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/pyca/cryptography/pull/982/files#r12194528