crypto: skcipher - Allow sync algorithms with large request contexts
[linux-2.6-block.git] / crypto / skcipher.c
index 418211180ceec379570c7de99ef43d86861b7c5a..0ecab31cfe79bfd8acc54dae56986c768a308373 100644 (file)
@@ -763,7 +763,7 @@ struct crypto_sync_skcipher *crypto_alloc_sync_skcipher(
        struct crypto_skcipher *tfm;
 
        /* Only sync algorithms allowed. */
-       mask |= CRYPTO_ALG_ASYNC;
+       mask |= CRYPTO_ALG_ASYNC | CRYPTO_ALG_SKCIPHER_REQSIZE_LARGE;
 
        tfm = crypto_alloc_tfm(alg_name, &crypto_skcipher_type, type, mask);