Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4171564ybg; Mon, 21 Oct 2019 05:02:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqySboeE1FBk5AnlELBDmmfjfeeapbYc3fl+u34pluXv2xuDhXrKEgBjaLzrGD0z05vG7iLK X-Received: by 2002:a50:fc86:: with SMTP id f6mr24629777edq.233.1571659361191; Mon, 21 Oct 2019 05:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571659361; cv=none; d=google.com; s=arc-20160816; b=EQzpgljtDmbyssTBWF8zjPcaYkaPgUfhSn+o+43OfCvO4uiwo+avXb6hr1NTzV+7ml yiIYqptmpK3sZjsEtraXYZ4FIw8651pzJpRI92bFFtABbQcfif6fk5Jt29LGj7DOSDxX xarHQG852ZqsD0JZPD6xQSe06WQYRyERr/t9n0xc5RlZG/kRbxgj1Gy+4p8x037wuj8X lDtPW8kne9Po2IKV5r0BKNI6OF5T6JpteLPsbuajD+t7xvZ/2FFmJQuxl7hoDBHD9Hn8 Ey1b/eHhjD02FK4I2jdGMVC0trPastbVEvHizZ/zVjOMq4qlHAVLSW7R5IlS50OE94ZB +k2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mWEB9osAQee35AyhlgRxJbWS6irJ5cvGkHpX55XRn1E=; b=Dwdx5mnxG2ESjFxUP//Yx6199KIkHKPsIoQ0yaOmnnfaM47J3ISshkdicrAjfxrfIh y0lVKVLwrAmrsFp/E/GxkHWlRfnWEkXqmtoA+eVshUc9KpGAWk/kuOFiKKVmsCKKJCd+ 6v3vEAgbrWHkxGitvpABk16U5sm5ZVv5p1ZBa65/DQ0WeOiC7Qfsa9LzKtRGTKCNZWCH dezFcY7vt5SNDWu9Eh5OjcfWeaKNcEiePt2VfG28HZlT8wFq5XA7v4PjIWHIc8vkbR+G dmfgV0lCCth+E2nog+9V3kqixVf8y/n+2GPEP/5yQ1llVBPvO/cx8KFt1BmrhrAPXCFW W8pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DZayBbwz; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si8941664ejr.383.2019.10.21.05.02.15; Mon, 21 Oct 2019 05:02:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=@linaro.org header.s=google header.b=DZayBbwz; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728327AbfJUMBI (ORCPT + 99 others); Mon, 21 Oct 2019 08:01:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37394 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728323AbfJUMBH (ORCPT ); Mon, 21 Oct 2019 08:01:07 -0400 Received: by mail-wr1-f68.google.com with SMTP id e11so4939048wrv.4 for ; Mon, 21 Oct 2019 05:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mWEB9osAQee35AyhlgRxJbWS6irJ5cvGkHpX55XRn1E=; b=DZayBbwzidagHXfjzo+vzE7AoicDQbfH28tq6Q3lvonVDXLWmKQFdudte2p5G1rCYp RVCcVYLiRDHe1rxz+iGD1bJ19a2LoAC5z0miBg8I788Def1js93fq7drRVXZdNS26R13 UnnRmVsYQpkMOQqyFLSt6RoynkjorxsG76w0WY9nzHxR3eknHms4r6T1PRRybxDGFUz7 X6O82uWSVvSR5YTRhUvqJeUZihX/r7KOV478vNKXthZopVovLmhUu5PLjXBG8sTKgQ9m amHtltZ0/s0L/DU1nqWZ3iNpJkbb7B6kjHoNQTSeFULE+WdU31YltZ0C/osAUTntiGEl l4yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mWEB9osAQee35AyhlgRxJbWS6irJ5cvGkHpX55XRn1E=; b=RdYGH7a6726Lr7WZaaoBUJxbOmvLu841Gl9nj3ZOfkjvoh1Ma/wa/aGXlpadeiBH34 gYkfGFcIEg78M0/dctVTgtCXhwx4kxTpV70OM/f3RQpMu8wgPjYakEh/6o0hKjcKh6Mi PYjYcnA9AZ/UkC+a3qu7eF+C160J6V5gV9eokimnNOcYyG1vPkdnQ1C67vDHhKmdaYew vpkgBhDhXIUwVXCbpzqngdmw5iHumPfnpld6hun86KN89HIF8YFkVI/wCqMbYCzB1r6D 0TTxjfS9LESXyhwpiNgVTJLQvVBvFoefdp6gONRf2SDC/jhixTzOrke08JPFG2BEHKCN by0w== X-Gm-Message-State: APjAAAWdYeXuMcI1dONc3WGvTS0OfcGC23OpqUAh1rrqFnIBF7aDOdQi 6lefIfaEnau9jqKrDdNCEQEC3SLmHVOmX9qBmYY4BA== X-Received: by 2002:adf:f685:: with SMTP id v5mr16542105wrp.246.1571659265641; Mon, 21 Oct 2019 05:01:05 -0700 (PDT) MIME-Version: 1.0 References: <20191014121910.7264-1-ard.biesheuvel@linaro.org> <20191014121910.7264-8-ard.biesheuvel@linaro.org> <20191021100517.GA1780@pi3> In-Reply-To: <20191021100517.GA1780@pi3> From: Ard Biesheuvel Date: Mon, 21 Oct 2019 14:00:59 +0200 Message-ID: Subject: Re: [PATCH 07/25] crypto: s5p - switch to skcipher API To: Krzysztof Kozlowski Cc: "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Herbert Xu , "David S. Miller" , Eric Biggers , linux-arm-kernel , Vladimir Zapolskiy , Kamil Konieczny , linux-samsung-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, 21 Oct 2019 at 12:05, Krzysztof Kozlowski wrote: > > On Mon, Oct 14, 2019 at 02:18:52PM +0200, Ard Biesheuvel wrote: > > Commit 7a7ffe65c8c5 ("crypto: skcipher - Add top-level skcipher interface") > > dated 20 august 2015 introduced the new skcipher API which is supposed to > > replace both blkcipher and ablkcipher. While all consumers of the API have > > been converted long ago, some producers of the ablkcipher remain, forcing > > us to keep the ablkcipher support routines alive, along with the matching > > code to expose [a]blkciphers via the skcipher API. > > > > So switch this driver to the skcipher API, allowing us to finally drop the > > blkcipher code in the near future. > > > > Cc: Krzysztof Kozlowski > > Cc: Vladimir Zapolskiy > > Cc: Kamil Konieczny > > Cc: linux-samsung-soc@vger.kernel.org > > Signed-off-by: Ard Biesheuvel > > --- > > drivers/crypto/s5p-sss.c | 191 ++++++++++---------- > > 1 file changed, 91 insertions(+), 100 deletions(-) > > > > diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c > > index 010f1bb20dad..e6f1d4d5186c 100644 > > --- a/drivers/crypto/s5p-sss.c > > +++ b/drivers/crypto/s5p-sss.c > > @@ -303,7 +303,7 @@ struct s5p_aes_dev { > > void __iomem *aes_ioaddr; > > int irq_fc; > > > > - struct ablkcipher_request *req; > > + struct skcipher_request *req; > > You mix here indentation. > Will fix > Beside that: > > Acked-by: Krzysztof Kozlowski > Thanks!