Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp637643ybc; Tue, 19 Nov 2019 06:58:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwawD7ihI21pEQnowF6nAs1F/uk68eParADyQ+jAi5ALGLEb2yt/yPxq+gL44lFnlQDy5sn X-Received: by 2002:a17:906:f10:: with SMTP id z16mr36167956eji.211.1574175480087; Tue, 19 Nov 2019 06:58:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574175480; cv=pass; d=google.com; s=arc-20160816; b=S8lN4bK/L4zD5xDvEXtexjYNDKrhFhNzIMszaHMuI/E6N3p2P1lzL8Sbxb7T9Z8AX/ VquT0fk4cgu0GlcTaxwQXUQBfMUh7bMeLBDFdnThdsrK+u8al1VRfWtiRgpbKgUWHl9u y/z5TGjZbhRCQpcLSivLrrMpRUk80gGForGW7GmKElhVVi1Uttg7C0o6mm7OWdKrP5Ko e5sEB9Z4au9ofATN7+oKuGT6deL/iJAiUxcgsxTJDeghcI842Bt+aCc4A0vjP+c3XNvs AhEH9R0fHNbTXnEihJMjvRxZSL3moMebTh6DB+dMQ2VMHdWv4GDeekIZRSqq0DM6R/DQ FkNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=NKbjRLRfqWT6CnXo3MhHeHtqb1u69HA/nddLCOhk2K0=; b=R+OC1XXXK0sZwrxOr3QwdnkQLLQ2Wrvhq5GAZj6nSlxcW6wulelxWBW/4Egj1vZIFQ 8Io9GMVpBcaPRPD0YGI6Z1VEzcIe3a3sV6pSckO7B1eVQJNdTge2+A9PNn2HHiCXlUNt WNx3SVVosBJRg1RA50y/97i1f/tyFcqmiAq7zji47LYi/n4/SwlHvfH1Fb44BUlo/m1p +p82W2/kSbra9l2Mhh+uyN0h9lWnsxActRAHtXrT0ZcyC7ssyPse6G2zIDozvFHIn1D9 SAcja0ZIPK2TClvooLKdefhfJq0+pO86Unxc7odb7M5CcXw1MoOAcMqtlAS4F7z8CCk1 bq6w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Zw7y4m7G; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qw23si5813633ejb.1.2019.11.19.06.57.31; Tue, 19 Nov 2019 06:58:00 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=Zw7y4m7G; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728151AbfKSO4i (ORCPT + 99 others); Tue, 19 Nov 2019 09:56:38 -0500 Received: from mail-eopbgr150050.outbound.protection.outlook.com ([40.107.15.50]:21479 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728071AbfKSO4i (ORCPT ); Tue, 19 Nov 2019 09:56:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nUUVmIT0y1/EjFRSsaJOqxLFrkQN5lnEZXwmi+O/bZg0YBFfg/v76gS2VJgACcjJeCrv+b6lbxs9HKswBrNBHJyJq6U5C/y71m34y3M/ESqW8fOVXh0ZT745VQytzFxyNPP0Z7X/2na100MAiYNSkeXOfVvJwE1ZwDhGcJk57duAnv6ocldmKmZq3Ma+EkDlZmY+Wup6vaFtAnDj8BmAL15AP7mEFK+fLgRKRq+RIOF8MUgtVM+r2nSpd1/jO3KJAzyN9Ac68gw2VA9SfOHzp35rE7yDgoYtuYlrq1EKTLSfDr1rU4DhyIk4F9Ox1iN2t7L/2e1CD93in0WQZTe+Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NKbjRLRfqWT6CnXo3MhHeHtqb1u69HA/nddLCOhk2K0=; b=Eyzw79qm248LH5myne2Aa/JJ4p6isoQ0cM3SpnNM4Wg4RFYXw0VWCt9ib+rL55eDHrikufOlQQYFWEsvXEnQFUlkYUu7/m27tn7XwNnhDjmtPI8qFMlc6EeHyjYFhqKJJa4bPiyDf6DTL7LnfH0ZorTgcduoGPQAXo2izLWQeVBQoAtzb6YJ5ytNu+7CMqCQ8Z6upKhEqbe501FnH+Sy17SRVDLWDnxjuhLS/H25R9KCN0mQA540iqnC+EFDsXkeq97sibGlCv020VAMWJ3YcosQHgKFVQ6FChhxfSSBscPT89qEfccwKS0QB4P5G5OWism+kBHZ6qxsHOZp3ejABQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NKbjRLRfqWT6CnXo3MhHeHtqb1u69HA/nddLCOhk2K0=; b=Zw7y4m7Gtb5bSH0tKAkylDhvpUucFfxFbpRHfu05wfa4iF+2ritUSX0ut+lylIkWs31lGSPKE3NHCs2MKP8SLR6P6b0wHEk/Cf8QojFcDXCPwlDDP6U+9dYA82OW53o357Bxf0ePGUy4OyxT2KVQryQW1cUb6D6G68ET41rZUac= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB3536.eurprd04.prod.outlook.com (52.134.1.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Tue, 19 Nov 2019 14:56:30 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::89e1:552e:a24d:e72]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::89e1:552e:a24d:e72%3]) with mapi id 15.20.2474.015; Tue, 19 Nov 2019 14:56:30 +0000 From: Horia Geanta To: Iuliana Prodan , Herbert Xu , Aymen Sghaier CC: "David S. Miller" , Tom Lendacky , Gary Hook , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH 03/12] crypto: caam - refactor ahash_done callbacks Thread-Topic: [PATCH 03/12] crypto: caam - refactor ahash_done callbacks Thread-Index: AQHVnZayXIBTED7Av0G5EEEbA3XwdA== Date: Tue, 19 Nov 2019 14:56:30 +0000 Message-ID: References: <1574029845-22796-1-git-send-email-iuliana.prodan@nxp.com> <1574029845-22796-4-git-send-email-iuliana.prodan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: be2aa05e-28ee-431c-4cdf-08d76d00a99c x-ms-traffictypediagnostic: VI1PR0402MB3536:|VI1PR0402MB3536: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-forefront-prvs: 022649CC2C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(39860400002)(366004)(396003)(136003)(189003)(199004)(71190400001)(3846002)(52536014)(6636002)(66476007)(66446008)(9686003)(81166006)(81156014)(64756008)(66556008)(7696005)(186003)(86362001)(5660300002)(26005)(229853002)(7736002)(6246003)(14454004)(305945005)(6506007)(102836004)(76116006)(53546011)(25786009)(8936002)(91956017)(71200400001)(8676002)(446003)(66946007)(6116002)(4326008)(558084003)(478600001)(256004)(99286004)(66066001)(2906002)(54906003)(44832011)(74316002)(6436002)(316002)(76176011)(110136005)(486006)(33656002)(55016002)(476003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3536;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DEbq5pV6bV3dEXIKV07VSioDU0GDb0kVY5kyQ/xsREoUVQKpkI9NMUveelrw1ta0jm5nCl6+t3Y9M9zmdeAAqoo7CrGLjzvEYQCYxO7sxHnIBSfTmb5dzqNHaSbLBxtN9F2nF4SInQjnC52rltFBSOjaif0eUI6O4Sn+Q11pK88DPhqVvdnUzdDoLhGBQEaCVM/FB17+vnWMrDAfx+qnr3ockQBelmHtP+HiUn2HZZxFi057GumUZYBGbamnymGVE9OySC26pK9O68sBjKp43mZsrQuclZ879xqZJmzFCdCqh31c/gp52UlisyFGPkIxcD3QAll7PAHwZy9xuKe55BCQuKYPcfmPtDwtkaXRY31A2kcTtj4pbafa/m9SR8K+GjIzQA3DMH4AkNjjloc8R/cJ3aSGAAKhxZqgSVyuBmLRalWuprhqDaToR5RlPu0q Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: be2aa05e-28ee-431c-4cdf-08d76d00a99c X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2019 14:56:30.7395 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OM5PWasHNwicf2lLlD+sJWneueIst8z00pxpDnSrdqYLR2m0yNlu9EHro7mu1VhwAcdWsRC5iFyaZCTILT/kdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3536 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 11/18/2019 12:31 AM, Iuliana Prodan wrote:=0A= > Create two common ahash_done_* functions with the dma=0A= > direction as parameter. Then, these 2 are called with=0A= > the proper direction for unmap.=0A= > =0A= > Signed-off-by: Iuliana Prodan =0A= Reviewed-by: Horia Geant=E3 =0A= =0A= Thanks,=0A= Horia=0A=