Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2994183ybi; Mon, 17 Jun 2019 14:15:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0os+KyQ/9z+b5Qf00GfJ9YlGdqfZ0H/XeB2GvsKPKW9C+DSKay26jRLyUjE/yxEQ+xiWp X-Received: by 2002:aa7:8ecb:: with SMTP id b11mr75638490pfr.220.1560806143828; Mon, 17 Jun 2019 14:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560806143; cv=none; d=google.com; s=arc-20160816; b=thniv0kKSp33nClr0EAbq/7hoSCnrfR63SaI4QyZ9FsZCa/z+UZeIdFlLCcgB5SUbb Ms4Y6qMsudyIUShAh+6jH9Xbu4TC14g/7HiJlD+snqcZ9gAcFax7+lxVllstJ8RGcOSu 014SLxtYehizgZXg9E8bJy6/F+0HVJvk4IdVlCAsewTak5OnEneibUGqwckXguYZIcG9 iQF/JnHu7unzt7ImHO6gO8srLNSdJHrkmFHTL3xeFXdhqqTyC/tjtl7onVgvX0yxjK/u rniqyBjp98zH1B+l/IzBeLDmKhOVmPrfbzZ7xCzYLchVvN3Cv5imibB8L9rpxz9aeaH0 n6Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=EhmPXZfGnYJpiSEZOI7XcomPFqzgecwsbBunVsRFXLI=; b=ROPECUlIJQWXjqqUCJJDGTaE4RwdtjK9VbCUq2e2v6gXnhqZaIVRUVej+fk5xx1d4F vQZFHYggnG3CGviZYAJ3C/aQkAORdc35xGIBmzZMGT4wqDAGFVlRcEZobpK/RMf3bQD/ e9wxz5AXMdH2vuK0WAML8jjDsAMPjs4hDvc4vxHmzkEONtaTR3I4wAjqwVHuir4ejyM8 AwJ3ZanWggy+gilJQIDAjAixjI2xGY1VIwy4yrg5o5t0AllFgtzwAlIY/PUFdHDX6DRE sEQ7Ue5wGdJWN1EoM8glVc43ozavB5W/eY6jIE+ICJUJv67Tkiojj0oCEcuwg0JOHTA4 EpuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=pvA3cKEU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j62si11526307pgc.71.2019.06.17.14.15.28; Mon, 17 Jun 2019 14:15:43 -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=@c-s.fr header.s=mail header.b=pvA3cKEU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728032AbfFQVPL (ORCPT + 99 others); Mon, 17 Jun 2019 17:15:11 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:1796 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727540AbfFQVPI (ORCPT ); Mon, 17 Jun 2019 17:15:08 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 45SPB23NRrz9v2jL; Mon, 17 Jun 2019 23:15:06 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=pvA3cKEU; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id xTS0n_98orU0; Mon, 17 Jun 2019 23:15:06 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 45SPB227YJz9v2jJ; Mon, 17 Jun 2019 23:15:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1560806106; bh=EhmPXZfGnYJpiSEZOI7XcomPFqzgecwsbBunVsRFXLI=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=pvA3cKEU0VuEe+MFuqvrga71oTAVM05jKj3MBOETSKeaMsMod5EQ55LszYzx6DfJI Rg9V8r7tAcaR8sZ+cYtBEhqBdKzNc91qXk/x/QeLQuUQbOQLXFkSULFn8KDxvRyqnI ohMsGKnBvD2TbhE4p5OF+CXPu4a/uRqYV8u0KOjQ= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7F4D88B84B; Mon, 17 Jun 2019 23:15:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id ZlqEV_Qr4qAk; Mon, 17 Jun 2019 23:15:06 +0200 (CEST) Received: from po16838vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 539958B7FF; Mon, 17 Jun 2019 23:15:06 +0200 (CEST) Received: by localhost.localdomain (Postfix, from userid 0) id 0792E682B3; Mon, 17 Jun 2019 21:15:06 +0000 (UTC) Message-Id: <7660a4af9d382b7a044f0c61c279a1edeb213a76.1560805614.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v4 4/4] crypto: talitos - drop icv_ool To: Herbert Xu , "David S. Miller" , horia.geanta@nxp.com Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Mon, 17 Jun 2019 21:15:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org icv_ool is not used anymore, drop it. Fixes: e345177ded17 ("crypto: talitos - fix AEAD processing.") Signed-off-by: Christophe Leroy --- drivers/crypto/talitos.c | 3 --- drivers/crypto/talitos.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index ab6bd45addf7..c9d686a0e805 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -1285,9 +1285,6 @@ static int ipsec_esp(struct talitos_edesc *edesc, struct aead_request *areq, is_ipsec_esp && !encrypt); tbl_off += ret; - /* ICV data */ - edesc->icv_ool = !encrypt; - if (!encrypt && is_ipsec_esp) { struct talitos_ptr *tbl_ptr = &edesc->link_tbl[tbl_off]; diff --git a/drivers/crypto/talitos.h b/drivers/crypto/talitos.h index 95f78c6d9206..1469b956948a 100644 --- a/drivers/crypto/talitos.h +++ b/drivers/crypto/talitos.h @@ -46,7 +46,6 @@ struct talitos_desc { * talitos_edesc - s/w-extended descriptor * @src_nents: number of segments in input scatterlist * @dst_nents: number of segments in output scatterlist - * @icv_ool: whether ICV is out-of-line * @iv_dma: dma address of iv for checking continuity and link table * @dma_len: length of dma mapped link_tbl space * @dma_link_tbl: bus physical address of link_tbl/buf @@ -61,7 +60,6 @@ struct talitos_desc { struct talitos_edesc { int src_nents; int dst_nents; - bool icv_ool; dma_addr_t iv_dma; int dma_len; dma_addr_t dma_link_tbl; -- 2.13.3