Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5959154ybh; Wed, 7 Aug 2019 14:33:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqw22cNT8f1vCf2fW9ZvW66a9wqBHH++ur8txlaWICNURyor91pJ5SdD6LV1WBXpl5/SYHLm X-Received: by 2002:a63:67c6:: with SMTP id b189mr7899916pgc.163.1565213626466; Wed, 07 Aug 2019 14:33:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565213626; cv=pass; d=google.com; s=arc-20160816; b=PCRhip9w/ykiJzjXJb/0JOHYMyyTyB65ygmDirNEd1+tINY6pBVauPA1HMdnRq7sVe bTj+yZ/k256uUSceH78Rr4oI4viAat1UCAEm7CXqA6fOqzcVEQOAKDOVEwygDjLUx/Hz 8NZYRoUfVz7EopuYfhY4Hwmai9ge4QaaUG4AlkCxo7wMbGYh4unlDQsxiXiFpoTLtSEf CkgB1RbwHNW9YJiID95mH+uxvf9h0y0qWDhyCeE7YEJ5Vemy2KrBalBgyP+k9iJ4Jyq7 y2zz0sbuFX3AgTaia1LVK1QxHPaDrUenHXA5uKOT2AS/8e7geus/d3ypCQJkIPD7S2Fo RPtg== 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=qj2w2X14VODnKI4Vw6TklvGVniHIATrPlOkzf0FYZ9Q=; b=WCX2Coq0OX6+BP4AYxA/DC3LtWuKz77nag0IUzGl513tiqGbuRyHjAoBWmdUK0EjjB GIeA+sSQUNLIZC+4n7+zgjZUWb06i/9A6LgLaAgL6rEKuLxwUHQ4N9qqzPuCdnHTTCgG H2RKQ7VL0Aq9gpgaPc6KqPY0K6WpdVUol3TEOfkI6U54k6iv4N3aJVXqsmgjb3KRGd3E m6+OnZ8pIYbLh6gpmy2jbTaPsOlRA0uhg/WnEVgpjTCI8n6PVDgSt3Ol/ye2WJ1zRcc/ 4AI3A6U7/ERs8JlBchzEZj8sNcS/uua4NnDndc1NWujmSKTfjYP4eDSO3aOD3V23ihyB +Ctw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@verimatrix.com header.s=selector2 header.b=XqGellv3; 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 n3si16981241pgb.68.2019.08.07.14.33.24; Wed, 07 Aug 2019 14:33:46 -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=XqGellv3; 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 S1730455AbfHGVNS (ORCPT + 99 others); Wed, 7 Aug 2019 17:13:18 -0400 Received: from mail-eopbgr700079.outbound.protection.outlook.com ([40.107.70.79]:51589 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730231AbfHGVNS (ORCPT ); Wed, 7 Aug 2019 17:13:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PPE1fx//QfOxCFMAuUYVUvbufCBFVvqiZLeCAqlk0YL/JC+eTw/b+uW2Gy1caEE9S2rnHjbEG7p7NANcarqQS+U817N17wKsaTY6tARJ5akUr+1tLT8XVyV7byRNZxeUBspYP0wG9n3HdbmyJmhgpk3ZY/56K0ZnaPFE1QxkccT0DKyM5DlubYhDCDdTmwHit/gviKQZuDB+byECbn0K57Y0L70CgkMzcBT09NOhIpNek6x6aTClb6J1yRvqJZ1PhGSauwSjp1ej+3XpQROb9jjzSHVcCtDBd3HbhAl9ew5l0GbcGhDxmJlb7BaZny01aWczAXMz2lgwS/p4GPW7zg== 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=qj2w2X14VODnKI4Vw6TklvGVniHIATrPlOkzf0FYZ9Q=; b=QYgNcjpoe2nz2S/d8AS4HZZaeD/sA4sbnLD/kTvN3rcRQJmjQsNZcEOABNnlEu0bOHepG1f1/lTwY7SCssFOpE0jbYietEzDyv9FucIjECc+T6AtcXi95u3ARlBCS2tpXdCMwTZbCjmrQCElUg17kap/Vxj/AZg4wKlPhglL0K9ngZINs6HaMdYa3xjwBTBdGsfzWCQlhgefjndfuYeJkWkVYN+cM1JVctx5AtWS+VsRgz+hpn4/O1PWsz5h+5z9CcCIQLWF8uwXXnIXdeQza7BSGZNDmcfn9TRh+uUz3LiUljuob6fyaAGNAYCxsGDdhRKEMQHm9pkUUjc7nEg8WQ== 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=qj2w2X14VODnKI4Vw6TklvGVniHIATrPlOkzf0FYZ9Q=; b=XqGellv3H93gVy58Syz8ShhFY+g4oZbIMNiKbCTL6pNUEP4EsmxDfL4wTmGSiI4VgDtvZ4lCcfdxnmaK5oPtDPidWLSeR5KNluDeYdtm9DxFbDzwaZnIfPm4MRqYkr/dhx4ZFi3H97wYeajIMQz56llWYAy7sAK/vx13NXFppig= Received: from MN2PR20MB2973.namprd20.prod.outlook.com (52.132.172.146) by MN2PR20MB2541.namprd20.prod.outlook.com (20.179.148.150) 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 21:13:14 +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 21:13:14 +0000 From: Pascal Van Leeuwen To: =?utf-8?B?T25kcmVqIE1vc27DocSNZWs=?= , Milan Broz CC: Pascal van Leeuwen , "linux-crypto@vger.kernel.org" , "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: AQHVTCyrZ3LTVlRuCkCwUQoLONEbf6bucuQAgAAMd6CAANdjsIAANO6AgAABheCAAASpAIAAODmggAAng4CAADSOgIAACQ6w Date: Wed, 7 Aug 2019 21:13:13 +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> <46f76b06-004e-c08a-3ef3-4ba9fdc61d91@gmail.com> In-Reply-To: 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: 510ed5a0-63bd-4ff3-5141-08d71b7c0f3d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:MN2PR20MB2541; x-ms-traffictypediagnostic: MN2PR20MB2541: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01221E3973 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(136003)(396003)(39850400004)(366004)(199004)(189003)(13464003)(74316002)(33656002)(14454004)(110136005)(54906003)(316002)(6436002)(478600001)(2906002)(4326008)(6246003)(25786009)(229853002)(15974865002)(53936002)(14444005)(256004)(9686003)(7736002)(55016002)(8676002)(305945005)(52536014)(6116002)(3846002)(66574012)(66446008)(5660300002)(81166006)(8936002)(81156014)(76116006)(66946007)(66476007)(102836004)(446003)(7696005)(76176011)(86362001)(71200400001)(66066001)(71190400001)(26005)(476003)(11346002)(53546011)(66556008)(64756008)(6506007)(99286004)(486006)(186003)(18886075002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR20MB2541;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: fB23gNlIuUkwplN0cwZDMKC307uOSnEUHmehJBC0R4yexWcDDTP7p5SuB7aJnCXF6J3Ytlz4OBAWTzu1hroU/qMBWPYOmxXrGIT4OTAaCCNnxi87bTkiddlL8CHQSRHBlDPUmOVrI8Clm+QqCV7C/WMcatJUBK0KqSEIM5EqvKLlXeFbTJoXDg9Nm6nhbYQJ0UqUWKHmA5kjz0dTDXx4k5dRlKlZNDToHCiHUv/nXFUWTuJ6hz6gzEB8/jNzusPOQiS2wRU+MDOtcj+VCzW9XCkbvYFYVclZ1tNklc0xvHxfCEUvQJw+t+/iWyjwDfaIHAKuNRL/zmxlCFJejdwUPwxfyGLD+YJ00I61ZWr3e3AbAzsX2ecyYyvYiXIuGtnfjBfMdjhsi9mFDxkerKtDhwBCAUouxmdT32M5r1O51xM= 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: 510ed5a0-63bd-4ff3-5141-08d71b7c0f3d X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2019 21:13:13.9337 (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: MN2PR20MB2541 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBPbmRyZWogTW9zbsOhxI1layA8 b21vc25hY2VrQGdtYWlsLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBBdWd1c3QgNywgMjAxOSAx MDozMyBQTQ0KPiBUbzogTWlsYW4gQnJveiA8Z21henlsYW5kQGdtYWlsLmNvbT4NCj4gQ2M6IFBh c2NhbCBWYW4gTGVldXdlbiA8cHZhbmxlZXV3ZW5AdmVyaW1hdHJpeC5jb20+OyBQYXNjYWwgdmFu IExlZXV3ZW4NCj4gPHBhc2NhbHZhbmxA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