Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5583213ybh; Wed, 7 Aug 2019 08:16:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrPoMNVDIz3Vf59M7MoO5/2I2MMYRZltRXXuoi1mudTID/+n0rtESj1VyLpsjvFFFWpDtL X-Received: by 2002:a17:90b:f0f:: with SMTP id br15mr404113pjb.101.1565190992307; Wed, 07 Aug 2019 08:16:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565190992; cv=pass; d=google.com; s=arc-20160816; b=xpH9x7rls9s3Qcto0Im6NOX415vjFWYxVVMmrKMJ05NOUgDDBpMWKUhS4adHWFIWYe LP7i2S+hs1uD+2QoN2RicnTkUauHONtjOLb/It2qW8KXheGshp+g46LyAVsZtFkQMUyA 2MuWTfL1+oO6wPkU1sCIuVD/yRHpOgcBY/Z8GOYp0hxPrtSDx6zHEaHjt6m5G6C+GDr8 /SsLLvm0IN+awqciZFis30uzwtQ2SKSfqwQARLvObpnTtN8qsL16Lk4HsWbQdeQvQ5nI jbfl0wVbGVMJW4kjvfde+01pA+3y80Ig7804T4j+mXRRlPPQzngpJcUADs5kseApRe2L WiZw== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=HWoWQbT0Hr7V2Csvg7MzYRBoQnddBAx6A+RW8YJYFYM=; b=GtARefrmPb2FPWVZJ8cvTErzzWZed06ICIA2hi8eVigG8UxL+gcWcEgyXosk8JACDN bO4rafrvu7SIhmeVIUcA0P4odIDW5w/1fHHPhYBGoLl3zOVvbSh/sI25xkNNj027Bif3 S+IgkUm+K3tMm5HGOqmYjyPl2Gee4zy7rxsZPAhUEQSdSD4NpRqs3Xqlq99xWF3iGCn1 qA1PibkuWHflwqfiYW6Z1PiVMmdT2ZRdpMVV0qj6BJDPE8FgXsLcX2dPjrVnxzZ/Ogp7 gLKvF/GrRuFqO9VJGIQ/fJGKiHgCiKBvxybsFICcdw3I9h5CCAi/q0b7IV02Be8d12Yz PyoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@verimatrix.com header.s=selector2 header.b=BFtQBVdd; arc=pass (i=1 spf=pass spfdomain=verimatrix.com dkim=pass dkdomain=verimatrix.com dmarc=pass fromdomain=verimatrix.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=verimatrix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si50206605pfo.22.2019.08.07.08.16.09; Wed, 07 Aug 2019 08:16:32 -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=@verimatrix.com header.s=selector2 header.b=BFtQBVdd; arc=pass (i=1 spf=pass spfdomain=verimatrix.com dkim=pass dkdomain=verimatrix.com dmarc=pass fromdomain=verimatrix.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=verimatrix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729998AbfHGPNO (ORCPT + 99 others); Wed, 7 Aug 2019 11:13:14 -0400 Received: from mail-eopbgr710054.outbound.protection.outlook.com ([40.107.71.54]:55699 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726773AbfHGPNO (ORCPT ); Wed, 7 Aug 2019 11:13:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K1jBU4PCaIdgVZHXbzICVDLD7qe8ticaIlIVkjUFd3xJsBZQsgd5cxnOPUl6iR/NtkEL8LhCa087ldwkTfNcyhp0akfkHQM/HOfu6wWXYeokbidzenDaB87J31O+uPH+x04IQ/EiG9RJN1d+QvYpYM48KQ0u+39HsV9xNY2CZjqKBkMI5iSsMysR4tqxd41wQci2j4d8H/Lo6PE0Fi/B/NPT1VaWA5iYTpyJDEeIt7K0KAC+3y6xFgIVvd3jYu6M+E0wtr4qio/rcwkvxxuDaQZGEba3O3NYrG9q9w46yPCqNh7QoXw0YVlRfBes8VLGa9fK9uGXQt2MmyVVqN4eTA== 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=HWoWQbT0Hr7V2Csvg7MzYRBoQnddBAx6A+RW8YJYFYM=; b=ToY9UaYV7Y54mNnvPVJbgAdku/DVqW34u+Ov9gUs3bhiHIm1k+Nd/u3mq/crkxNoWUPPnS1FYe9XGTJEwUSUocf6KKxOxfrFwhf9Y/WN3U7NnH7DVbK3Pdtyrl8jGW6N3j+VjyHglDztpyRNKDa58Dwaid9fbl2L0dF0mgdp6oYWi74cybwZl4ZnCVjckwXxYcwBwNKw5KUSpUj8KrCtBVMnUvqfJS+yeS+iDKhgKKTQvlyqjF4jcJSg0D2IDLjLVtCht6ue1Xrax7G2NtIE4xqe1fle2ksF+FaEh9pXqFSRW98lTJdyhhgjtgUEoG62ACaBcQmrAovBBd5eHg0PrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=verimatrix.com; dmarc=pass action=none header.from=verimatrix.com; dkim=pass header.d=verimatrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verimatrix.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HWoWQbT0Hr7V2Csvg7MzYRBoQnddBAx6A+RW8YJYFYM=; b=BFtQBVdd7We2VoOuOfPRxwxd5DlH2BRzNuZntFhP9BhhSVFQZjnf4pU2Ooy3pIgeBR+hP3M5v2ik/Dsc5Pfwx9rul1hdZXzhruUqrTRZqn8q5gvBwrYCu9S0qpX7SOh59KtzgvgfOl9Xy73C+SErOkLXBjjh6ykL8lwpeTSAc6c= Received: from MN2PR20MB2973.namprd20.prod.outlook.com (52.132.172.146) by MN2PR20MB2365.namprd20.prod.outlook.com (20.179.146.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.14; Wed, 7 Aug 2019 15:13:09 +0000 Received: from MN2PR20MB2973.namprd20.prod.outlook.com ([fe80::d96f:39b2:19f4:c7c1]) by MN2PR20MB2973.namprd20.prod.outlook.com ([fe80::d96f:39b2:19f4:c7c1%7]) with mapi id 15.20.2136.018; Wed, 7 Aug 2019 15:13:09 +0000 From: Pascal Van Leeuwen To: Milan Broz , Pascal van Leeuwen , "linux-crypto@vger.kernel.org" CC: "rsnel@cube.dyndns.org" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: RE: [PATCH] crypto: xts - Add support for Cipher Text Stealing Thread-Topic: [PATCH] crypto: xts - Add support for Cipher Text Stealing Thread-Index: AQHVTCyrZ3LTVlRuCkCwUQoLONEbf6bucuQAgAAMd6CAANdjsIAANO6AgAABheCAAASpAIAAODmg Date: Wed, 7 Aug 2019 15:13:09 +0000 Message-ID: References: <1565074510-8480-1-git-send-email-pvanleeuwen@verimatrix.com> <5bf9d0be-3ba4-8903-f1b9-93aa32106274@gmail.com> <52a11506-0047-a7e7-4fa0-ba8d465b843c@gmail.com> In-Reply-To: <52a11506-0047-a7e7-4fa0-ba8d465b843c@gmail.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=pvanleeuwen@verimatrix.com; x-originating-ip: [188.204.2.113] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9fce779e-5167-495f-520f-08d71b49c20c x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR20MB2365; x-ms-traffictypediagnostic: MN2PR20MB2365: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 01221E3973 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(396003)(136003)(376002)(39850400004)(346002)(199004)(189003)(13464003)(25786009)(229853002)(6436002)(14454004)(53936002)(6246003)(4326008)(71200400001)(71190400001)(33656002)(55016002)(9686003)(81166006)(8936002)(68736007)(26005)(81156014)(446003)(186003)(486006)(476003)(11346002)(102836004)(478600001)(316002)(54906003)(110136005)(2906002)(66066001)(7696005)(6506007)(76176011)(256004)(14444005)(99286004)(53546011)(5660300002)(8676002)(3846002)(6116002)(76116006)(66446008)(66476007)(64756008)(66946007)(86362001)(2501003)(66556008)(52536014)(7736002)(74316002)(305945005)(15974865002)(18886075002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR20MB2365;H:MN2PR20MB2973.namprd20.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: verimatrix.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 9jpLmhA+qKN4hRYnyBOq734L98dKjH20lJEMyyU1kZwvBx/2pFEfIhn2rV9sX1HhmyQA9NjRGtZ+U9Bl6QXBKn/5WBbH9pQhgDBeYWJ1Q13pjNIapXIAB34oNf/nZs5ItGMHVbEwrleelCv3h0JVTaJYwHDJtxU4FIUGFquoc5I+bVLz6BrCPIYFKU4irvBFPFaj+TK4XIkCHfXEt20mUlN4p7IUU6LPN0dujPjHmI8Y2ASzTwvC/ZsQEy3f+mCHStOO+/ViPKA3NsThEW4QAzN+HT6HCQJK0ThEwFlXKdBCeRym7v9qSDih77r0VeDqBO8H/a5pELg95gGcwEk8bY5HQiddQdtjCNRDlNDB4+MaE5CVE4YTDErOjU5vPiaRN/1GdnsPB3sQAIKw7qcSBOG8btBE5fEHsky22d64ICk= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: verimatrix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fce779e-5167-495f-520f-08d71b49c20c X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2019 15:13:09.6595 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: dcb260f9-022d-4495-8602-eae51035a0d0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pvanleeuwen@verimatrix.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR20MB2365 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNaWxhbiBCcm96IDxnbWF6eWxh bmRAZ21haWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIEF1Z3VzdCA3LCAyMDE5IDE6NDIgUE0N Cj4gVG86IFBhc2NhbCBWYW4gTGVldXdlbiA8cHZhbmxlZXV3ZW5AdmVyaW1hdHJpeC5jb20+OyBQ YXNjYWwgdmFuIExlZXV3ZW4NCj4gPHBhc2NhbHZhbmxAZ21haWwuY29tPjsgbGludXgtY3J5cHRv QHZnZXIua2VybmVsLm9yZw0KPiBDYzogcnNuZWxAY3ViZS5keW5kbnMub3JnOyBoZXJiZXJ0QG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