diff mbox

[RFC,7/7] crypto/lzo: add CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX cra_flags

Message ID 1451882819-2810-8-git-send-email-iamjoonsoo.kim@lge.com (mailing list archive)
State RFC
Delegated to: Herbert Xu
Headers show

Commit Message

Joonsoo Kim Jan. 4, 2016, 4:46 a.m. UTC
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
---
 crypto/lzo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/crypto/lzo.c b/crypto/lzo.c
index 47998e9..90afbf9 100644
--- a/crypto/lzo.c
+++ b/crypto/lzo.c
@@ -142,7 +142,8 @@  static struct scomp_alg scomp = {
 	.base			= {
 		.cra_name	= "lzo",
 		.cra_driver_name= "lzo-scomp",
-		.cra_flags	= CRYPTO_ALG_TYPE_SCOMPRESS,
+		.cra_flags	= CRYPTO_ALG_TYPE_SCOMPRESS |
+					CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX,
 		.cra_module	= THIS_MODULE,
 	}
 };