Since FIPS 186-3 specifies we use the leftmost bits of the digest
authorDr. Stephen Henson <steve@openssl.org>
Tue, 1 Feb 2011 12:54:04 +0000 (12:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 1 Feb 2011 12:54:04 +0000 (12:54 +0000)
commita677c87b7be0e9e6099b1a84acb46245b53a9ec4
treee2f0c3e2a4202bfbe07ae06e9374f54818c7c46e
parentf8a123b4a27f7e914f9f0a239d4661f24b85cf05
Since FIPS 186-3 specifies we use the leftmost bits of the digest
we shouldn't reject digest lengths larger than SHA256: the FIPS
algorithm tests include SHA384 and SHA512 tests.
crypto/dsa/dsa_ossl.c