diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index f0aed0106adb1cbf7068f93277857a8bd725e174..11f9359538166c37a5b152b515f13f2262622072 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -691,7 +691,7 @@ static int test_hash_cycles(struct hash_desc *desc, char *p, int blen, if (ret) goto out; } - crypto_hash_final(desc, out); + ret = crypto_hash_final(desc, out); if (ret) goto out; } diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index e678a33ea672658d64f891b8c021b6f5c2da7255..bb90cbd7ca51ce87d9d979993d1ae5ce6c0bda61 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -1,10 +1,10 @@ menu "Hardware crypto devices" config CRYPTO_DEV_PADLOCK - bool "Support for VIA PadLock ACE" + tristate "Support for VIA PadLock ACE" depends on X86_32 select CRYPTO_ALGAPI - default y + default m help Some VIA processors come with an integrated crypto engine (so called VIA PadLock ACE, Advanced Cryptography Engine)