crypto: remove obsolete crypto test condition
Since we now require gcrypt >= 1.8.0, there is no need to exclude the pbkdf test case. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
bca579e619
commit
1685983133
@ -229,10 +229,8 @@ static QCryptoPbkdfTestData test_data[] = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/* non-RFC misc test data */
|
/* non-RFC misc test data */
|
||||||
#ifdef CONFIG_NETTLE
|
|
||||||
{
|
{
|
||||||
/* empty password test.
|
/* empty password test. */
|
||||||
* Broken with libgcrypt <= 1.5.0, hence CONFIG_NETTLE */
|
|
||||||
.path = "/crypto/pbkdf/nonrfc/sha1/iter2",
|
.path = "/crypto/pbkdf/nonrfc/sha1/iter2",
|
||||||
.hash = QCRYPTO_HASH_ALG_SHA1,
|
.hash = QCRYPTO_HASH_ALG_SHA1,
|
||||||
.iterations = 2,
|
.iterations = 2,
|
||||||
@ -244,7 +242,6 @@ static QCryptoPbkdfTestData test_data[] = {
|
|||||||
"\xbf\x03\xe1\x1c\x71\xca\x79\x4e\x07\x97",
|
"\xbf\x03\xe1\x1c\x71\xca\x79\x4e\x07\x97",
|
||||||
.nout = 20
|
.nout = 20
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
/* Password exceeds block size test */
|
/* Password exceeds block size test */
|
||||||
.path = "/crypto/pbkdf/nonrfc/sha256/iter1200",
|
.path = "/crypto/pbkdf/nonrfc/sha256/iter1200",
|
||||||
|
Loading…
Reference in New Issue
Block a user