[RAMEN9610-13621] crypto: disable cfi on crypto_cts_encrypt
authorMunjoo Kim <munjoo.kim@samsung.com>
Thu, 21 Mar 2019 05:29:34 +0000 (14:29 +0900)
committerhskang <hs1218.kang@samsung.com>
Thu, 21 Mar 2019 07:58:42 +0000 (16:58 +0900)
Change-Id: I9e7adc6b8700e7a4ba7fb8a33d229ae243e59539
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
crypto/cts.c

index 243f591dc4091a7e4dec269d4e9a11b0133539cc..38c6d62f733b5f671684e8a3f4f32cc6fcc5f214 100644 (file)
@@ -144,7 +144,7 @@ out:
        skcipher_request_complete(req, err);
 }
 
-static int crypto_cts_encrypt(struct skcipher_request *req)
+static int __nocfi crypto_cts_encrypt(struct skcipher_request *req)
 {
        struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
        struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req);