Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4056518ybg; Mon, 21 Oct 2019 03:06:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQCYx7ZXrtmIhWwvKWB3NZivWjLI0JEr/tzS7jsAD3fR3WuOc5WclBR8mHiGkPiNqFw2YI X-Received: by 2002:a50:ef0d:: with SMTP id m13mr1422856eds.210.1571652394169; Mon, 21 Oct 2019 03:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571652394; cv=none; d=google.com; s=arc-20160816; b=bg66sHNzAtWQqy8mLuMl1eDZEgZKBMmq6Silqrm/d1CxTmd/3fQD2PpVOanS5ksmcn mPVwCU7AjLHxMZJ1k6gyipizMYdp0/O5S8lRpe1CkmzpiXSeqnS4EOeQ1Suxj4ZSD8y7 MPnS4Ey+beHzu3HGRrKArOD0RNeG6TFwuFv0rfebCRxQYUGjIWszZkd3AmhwnogVKnUr KC7omNC3M7acoBzu/mnug9O58kD1CEaFiryTL1mppeh7+bUjpZ+udKZJ5qQ53St9KRf1 ryP4H0JSPjReI5wxRhV3/TYbUKsQ5+gm5AbHwP5G01P/01hPRfooLxf0e4e5D8ad77wX VKOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VIly/GOwYf9JLFy1KZhN7RsSTWZDQWPbQNHGbDM5vaQ=; b=ntokUjkppnyavViMKbwABfKEC5lxg10+rCqL9gL+TzsBqb0c0VgVBvo7g4RUWegNLE 24OruizxLcU6GGbWMGn5z5rItqVZZuXz9cMnxQiFLn7QLkWGWr3JmCwdLAzIJvo04qTX RdNAXTGMS1uoMCr+fqjSwxqJtN/7sODK0wrgpTclfTEWiI+O4QABHFRbYf7dJzGc6Yhi LPlHml3k5vc5lBmNix2LpbBv2w1rzafOpFB8zEtZwskBF7F79p6liDhnoRr0p0AUnJE0 wJ6tPNnrUzVeYQaH7NV40O2MCpalmRL2DMVsdT3eFucgoBTyW272QQ+QAeVB4LjgDtPD yqAw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si8470827ejq.45.2019.10.21.03.06.03; Mon, 21 Oct 2019 03:06:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727649AbfJUKFW (ORCPT + 99 others); Mon, 21 Oct 2019 06:05:22 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:38865 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727640AbfJUKFW (ORCPT ); Mon, 21 Oct 2019 06:05:22 -0400 Received: by mail-ed1-f66.google.com with SMTP id l21so9545580edr.5; Mon, 21 Oct 2019 03:05:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=VIly/GOwYf9JLFy1KZhN7RsSTWZDQWPbQNHGbDM5vaQ=; b=X0mwRGFELBv7O9j88NXVr1S4VmvrFBVjtvLIMn9gg5ebCMAT0Bl8qWds9ACAyMo0Fr oOl99FsTSj5BU7g+QpemgdGTAWMOhvsOfp4bfUrX7XKDR9iFBEJQm0LFqzBF40hWG7eN 8nnUmHVL8QwsJ+hUiredAQGKwfhNKj8/JIZxBgB6N1gj1eu0UB7S+NJuZpFnDTOkfbfK 807wG9t27QV8d2O05j6S8F/taqCZAKgVtqRRPnW1tdzVhxU+FrQyNlR1MsLPdDdiNTlj UX3axoicR/amkhaM3z/yZ6EzMthLGOcj3xbD+fp2vDqOeFa4wRNchNMQBglRBKbCLzgw YiRQ== X-Gm-Message-State: APjAAAXLdTETe5E1VhAlhZ+yX0rE5lVfblaBzMYl1D66lwxOLG0hG+E4 aWXfvEILaQENpm89lYPIm8Y= X-Received: by 2002:a05:6402:88c:: with SMTP id e12mr10387252edy.170.1571652320623; Mon, 21 Oct 2019 03:05:20 -0700 (PDT) Received: from pi3 ([194.230.155.217]) by smtp.googlemail.com with ESMTPSA id y7sm253102edb.97.2019.10.21.03.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 03:05:19 -0700 (PDT) Date: Mon, 21 Oct 2019 12:05:17 +0200 From: Krzysztof Kozlowski To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, Herbert Xu , "David S. Miller" , Eric Biggers , linux-arm-kernel@lists.infradead.org, Vladimir Zapolskiy , Kamil Konieczny , linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH 07/25] crypto: s5p - switch to skcipher API Message-ID: <20191021100517.GA1780@pi3> References: <20191014121910.7264-1-ard.biesheuvel@linaro.org> <20191014121910.7264-8-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191014121910.7264-8-ard.biesheuvel@linaro.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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. Beside that: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof