Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp370562imm; Thu, 13 Sep 2018 00:59:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaUPcTr+sd1TLVmJ/CLszwWjJrCb26AE349xW2fyjg/4nJYFu2hpJ+jYOphUv7rjw4Ieqol X-Received: by 2002:a65:40cd:: with SMTP id u13-v6mr5887331pgp.334.1536825593672; Thu, 13 Sep 2018 00:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536825593; cv=none; d=google.com; s=arc-20160816; b=R7d+WoPBQ6i6/tRctno1MIWwColHx9r6qoGl6YjFnc/jDtMLlKFb6WkfXsnxeyxsMb xPTlYi4Ywpg4W0eTov+/QMmlqffi49krq0oQ3sPd3TTg1YLq7ujQv7kOlIk57UJr6rUI EfesczCw86Bh1u6qP4GI+ee84D7fAzQoBy9uIvZYIL/KWvK7oOWjqKGipnfKALzU9GQX s0Suzk12nf7KbFgbHpUk2l1fWL8b/PY8krTK6P6hxQzOmyyuLcUXZF5mvP9YVdYt3nwy g9q+85dPPRprfAKNpkklW5ge1MkMniJCYLVt6KMuhPCP8+r6ltmMP6xg8kUBbLuA32wy s3Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=q3yZm8Q+CX16ZHN6orngczIgV6OJwcIKxHX5/gW9tYM=; b=vs0PYfWCHIsD075VDmbgvTK2ZsRrGIcEuc0HBfleKnTuKctdBWjnHOdGFgUFfc6YHY tsWWJxHz49DNZwnaaRfqAH2YmxY8MDGF2iC5c2OP0pmXs1A0Ro/bfzfOlSmAUFqWNE0E Nmnt3gCMjWF4yQTcgq2YanQjofb3Cv0UbbeGDLKiTxTi+jJzY638rzC7ahpOaSfA9bug M6pOXgtyCAgvfDjTCEodWFvvDWOQzHcAscfaSqZdgt8BC0ogna71bvwXGJK6CE6uVaaV BT0kuIzi5L+aze133pum/GvONHCVhserJZjMA2txaHrWqXA9kkntpDZSILdMw4EkrwNi xOvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JSA2p9Zs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1-v6si3504123pfe.66.2018.09.13.00.59.39; Thu, 13 Sep 2018 00:59:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JSA2p9Zs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726985AbeIMNHR (ORCPT + 99 others); Thu, 13 Sep 2018 09:07:17 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:46102 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726685AbeIMNHR (ORCPT ); Thu, 13 Sep 2018 09:07:17 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180913075856euoutp0277d96991331eedfd6a1148b1d8096f76~T5q7muPfI1523215232euoutp02M for ; Thu, 13 Sep 2018 07:58:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180913075856euoutp0277d96991331eedfd6a1148b1d8096f76~T5q7muPfI1523215232euoutp02M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1536825536; bh=q3yZm8Q+CX16ZHN6orngczIgV6OJwcIKxHX5/gW9tYM=; h=From:To:Cc:Subject:Date:References:From; b=JSA2p9Zs1HPnE/a7LFygT9GzDQhx8/6Vubksjsj3pHOYuChDADIkKNZalF6ROTkZp aIKICd8UwRPV/IV65OBWN1sIgKiCwlRmECbidL5PLNsCwKAuiOq+1Jx2wx8BYNXl36 6ujWw1ElWLq+LdHgfyVlMKiViRGAk53Ae9bVMX4g= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180913075855eucas1p2ea9a1fe7129886823ddcc8c1993e90e1~T5q6uPeol2421624216eucas1p2p; Thu, 13 Sep 2018 07:58:55 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 68.D7.04294.FB81A9B5; Thu, 13 Sep 2018 08:58:55 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20180913075854eucas1p1ab212d14a48f86dd94f8580dca4bc63c~T5q5vKjDE1335913359eucas1p1q; Thu, 13 Sep 2018 07:58:54 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20180913075854eusmtrp2aa77936e25faf5a3956de8840bff5d55~T5q5d3dEy2501325013eusmtrp2G; Thu, 13 Sep 2018 07:58:54 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-78-5b9a18bf4633 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B7.F8.04128.EB81A9B5; Thu, 13 Sep 2018 08:58:54 +0100 (BST) Received: from AMDC2034.DIGITAL.local (unknown [106.120.51.41]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20180913075853eusmtip1f7d453c9e12a98c6a16bfd58a858ff0b~T5q5CI3fE1671516715eusmtip1P; Thu, 13 Sep 2018 07:58:53 +0000 (GMT) From: Christoph Manszewski To: linux-crypto@vger.kernel.org Cc: Christoph Manszewski , Krzysztof Kozlowski , Vladimir Zapolskiy , Kamil Konieczny , Herbert Xu , "David S. Miller" , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] crypto: s5p-sss: Fix and add aes-ctr support Date: Thu, 13 Sep 2018 09:58:38 +0200 X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA0VSX0hTYRztu3e7u5tNrlPYh8qIlUZqWpZxQ4uEhPsY9BAkojOvU3TTdtWy p60t0xU2RcvGtCwlnYQ1htoycwrtIXGZf9BaxRKkZpa1SWyay+1qvZ1zfuf8zveDD0dFam4s XqqsolVKWbkUE3AGXvmdB19CY+4hi1ZCOp53A9Lk1HHIG554snEkCEin8wmP/PTRj5DTNhNG tjlHEDIY0KKn+JS1dwGhBkYTKIu5AaM2O1s4lP37MEI1Ws2A8lokZ3jnBVlFdHlpDa1KO1kg KJm79oBX2c69HNwYxNTAyNEDPg6Jo/DtpAPogQAXET0AWtUt28QHoEGj5bLEC+B1zSZ3J9Ls +oayg0cALqyYOP8iLqcbhFwYkQHff/iF6QGOxxB7YMdaSsiDEhMInDK0oyFPNJENHd1tIOTh EAlQt5TDFkjgwmRDuAASPzD4tL0nvEdI1MCuYQXrOQ09j00Ii6Ohx2HlsTgeBp/dQ9isFsB3 vjkuSwwA2vv021dnQsu8BwktRYkDsN+WxsrZcNU4G34PJCLh/EpUSEa3YPPAHZSVhbC+TsS6 E+Gy1Yrt1H7xrgEWU7BpNhC+UETkwQ6jGxiAxPi/6z4AZiCmqxmFnGbSlfSlVEamYKqV8tQL FQoL2PoXrzcdviFg2ygcAwQOpLuFbfvv5oq4shqmVjEGII5KY4TLvC1JWCSrvUKrKvJV1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Message-Id: <20180913075854eucas1p1ab212d14a48f86dd94f8580dca4bc63c~T5q5vKjDE1335913359eucas1p1q@eucas1p1.samsung.com> X-CMS-MailID: 20180913075854eucas1p1ab212d14a48f86dd94f8580dca4bc63c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20180913075854eucas1p1ab212d14a48f86dd94f8580dca4bc63c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180913075854eucas1p1ab212d14a48f86dd94f8580dca4bc63c References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patch series adds aes-ctr support in s5p-sss.c driver. Additionally it it provides a fix, and a minor code cleanup. Patch 1 contains a simple fix, of a possible race condition. Patches 2-3 are code cleanup patches. Patch 4 adds support for aes-ctr block cipher mode of operation. Regards, Chris Christoph Manszewski (4): crypto: s5p-sss: Fix race in error handling crypto: s5p-sss: Fix whitespace issues crypto: s5p-sss: Minor code cleanup crypto: s5p-sss: Add aes-ctr support drivers/crypto/s5p-sss.c | 114 +++++++++++++++++++++++++++-------------------- 1 file changed, 66 insertions(+), 48 deletions(-) -- 2.7.4