]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/md/dm-crypt.c
crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations
[linux.git] / drivers / md / dm-crypt.c
index b8eec515a003cfc592d450eb8f78f1bec1898be7..a7195eb5b8d8949b87cfcedc5daf7c944abce5f2 100644 (file)
@@ -377,7 +377,7 @@ static struct crypto_cipher *alloc_essiv_cipher(struct crypt_config *cc,
        int err;
 
        /* Setup the essiv_tfm with the given salt */
-       essiv_tfm = crypto_alloc_cipher(cc->cipher, 0, CRYPTO_ALG_ASYNC);
+       essiv_tfm = crypto_alloc_cipher(cc->cipher, 0, 0);
        if (IS_ERR(essiv_tfm)) {
                ti->error = "Error allocating crypto tfm for ESSIV";
                return essiv_tfm;