From: Tapas Sarangi Subject: Re: [PATCH] crypto: XTS - remove test that will fail in FIPS mode Date: Thu, 11 Aug 2016 19:42:54 +0000 Message-ID: References: <6079382.fWeFLzBGfE@positron.chronox.de> <3590892.3HIz2aNZPY@positron.chronox.de> Mime-Version: 1.0 Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: base64 Cc: "linux-crypto@vger.kernel.org" To: Stephan Mueller , "herbert@gondor.apana.org.au" Return-path: Received: from seg-node-chi-01.trustwave.com ([204.13.200.29]:8483 "EHLO seg-node-chi-01.trustwave.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbcHKTm7 (ORCPT ); Thu, 11 Aug 2016 15:42:59 -0400 In-Reply-To: Content-Language: en-US Content-ID: <05E014555D3EE24BBF94FE44825D8094@namprd07.prod.outlook.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: SGkgU3RlcGhhbiwNCg0KQW55IG90aGVyIGlkZWFzIGFib3V0IHRoaXMgcHJvYmxlbSA/IFNpbmNl IFhUUyBpcyBub3QgYW1vbmdzdCB0aGUNCnNlbGYtdGVzdHMgYXMgeW91IG9ic2VydmVkLCBpcyBp dCBzYWZlIHRvIGRpc2FibGUgLmZpcHNfYWxsb3dlZCBmb3INCnh0cyhhZXMpIGluIHRlc3RtZ3Iu YyA/DQoNClRoYW5rcw0KLVRhcGFzDQoNCg0KT24gOC8xMC8xNiwgNTowOCBQTSwgIlRhcGFzIFNh cmFuZ2kiIDxUU2FyYW5naUB0cnVzdHdhdmUuY29tPiB3cm90ZToNCg0KPkhpIFN0ZXBoYW4sDQo+ DQo+VGhhbmtzLiBTb3JyeSBmb3IgYSBsYXRlIHJlcGx5IHRvIHRoaXMuDQo+DQo+SSBkaWQgdGVz dCB5b3VyIHBhdGNoIGZvciB0ZXN0bWdyLmggd2l0aCB0aGUgdmFuaWxsYSBrZXJuZWwgNC43IHNv dXJjZS4NCj5UaGlzIGRvZXNuqfZ0IHNvbHZlIHRoZSB4dHMoY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ICAgICAgICAgICAgICAiXHgwMFx4MDBceDAwXHgwMFx4MDBc eDAwXHgwMFx4MDAiDQo+Pi0gICAgICAgICAgICAgICAgICAgICAgICJceDAwXHgwMFx4MDBceDAw XHgwMFx4MDBceDAwXHgwMCIsDQo+Pi0gICAgICAgICAgICAgLmlsZW4gICA9IDMyLA0KPj4tICAg ICAgICAgICAgIC5yZXN1bHQgPSAiXHg0Ylx4YzlceDQ0XHg0YVx4MTFceGEzXHhlZlx4YWMiDQo+ Pi0gICAgICAgICAgICAgICAgICAgICAgICJceDMwXHg3NFx4ZTRceDQ0XHg1Mlx4NzdceDk3XHg0 MyINCj4+LSAgICAgICAgICAgICAgICAgICAgICAgIlx4YTdceDYwXHhiMlx4NDVceDJlXHhmOVx4 MDBceDkwIg0KPj4tICAgICAgICAgICAgICAgICAgICAgICAiXHg5Zlx4YWFceGZkXHg4OVx4NmVc eDlkXHg0YVx4ZTAiLA0KPj4tICAgICAgICAgICAgIC5ybGVuICAgPSAzMiwNCj4+LSAgICAgfSwg ew0KPj4gICAgICAgICAgICAgIC5rZXkgICAgPSAiXHgxMVx4MTFceDExXHgxMVx4MTFceDExXHgx MVx4MTEiDQo+PiAgICAgICAgICAgICAgICAgICAgICAgICJceDExXHgxMVx4MTFceDExXHgxMVx4 MTFceDExXHgxMSINCj4+ICAgICAgICAgICAgICAgICAgICAgICAgIlx4MjJceDIyXHgyMlx4MjJc eDIyXHgyMlx4MjJceDIyIg0KPj5AQCAtMTA1MjIsMjQgKzEwNTA0LDYgQEAgc3RhdGljIHN0cnVj dCBjaXBoZXJfdGVzdHZlYw0KPj50Zl94dHNfZGVjX3R2X3RlbXBsYXRlW10gPSB7DQo+PiAgICAg IC8qIEdlbmVyYXRlZCBmcm9tIEFFUy1YVFMgdGVzdCB2ZWN0b3JzICovDQo+PiAgICAgIC8qIHNh bWUgYXMgZW5jIHZlY3RvcnMgd2l0aCBpbnB1dCBhbmQgcmVzdWx0IHJldmVyc2VkICovDQo+PiAg ICAgIHsNCj4+LSAgICAgICAgICAgICAua2V5ICAgID0gIlx4MDBceDAwXHgwMFx4MDBceDAwXHgw MFx4MDBceDAwIg0KPj4tICAgICAgICAgICAgICAgICAgICAgICAiXHgwMFx4MDBceDAwXHgwMFx4 MDBceDAwXHgwMFx4MDAiDQo+Pi0gICAgICAgICAgICAgICAgICAgICAgICJceDAwXHgwMFx4MDBc eDAwXHgwMFx4MDBceDAwXHgwMCINCj4+LSAgICAgICAgICAgICAgICAgICAgICAgIlx4MDBceDAw XHgwMFx4MDBceDAwXHgwMFx4MDBceDAwIiwNCj4+LSAgICAgICAgICAgICAua2xlbiAgID0gMzIs DQo+Pi0gICAgICAgICAgICAgLml2ICAgICA9ICJceDAwXHgwMFx4MDBceDAwXHgwMFx4MDBceDAw XHgwMCINCj4+LSAgICAgICAgICAgICAgICAgICAgICAgIlx4MDBceDAwXHgwMFx4MDBceDAwXHgw MFx4MDBceDAwIiwNCj4+LSAgICAgICAgICAgICAuaW5wdXQgID0gIlx4NGJceGM5XHg0NFx4NGFc eDExXHhhM1x4ZWZceGFjIg0KPj4tICAgICAgICAgICAgICAgICAgICAgICAiXHgzMFx4NzRceGU0 XHg0NFx4NTJceDc3XHg5N1x4NDMiDQo+Pi0gICAgICAgICAgICAgICAgICAgICAgICJceGE3XHg2 MFx4YjJceDQ1XHgyZVx4ZjlceDAwXHg5MCINCj4+LSAgICAgICAgICAgICAgICAgICAgICAgIlx4 OWZceGFhXHhmZFx4ODlceDZlXHg5ZFx4NGFceGUwIiwNCj4+LSAgICAgICAgICAgICAuaWxlbiAg ID0gMzIsDQo+Pi0gICAgICAgICAgICAgLnJlc3VsdCA9ICJceDAwXHgwMFx4MDBceDAwXHgwMFx4 MDBceDAwXHgwMCINCj4+LSAgICAgICAgICAgICAgICAgICAgICAgIlx4MDBceDAwXHgwMFx4MDBc eDAwXHgwMFx4MDBceDAwIg0KPj4tICAgICAgICAgICAgICAgICAgICAgICAiXHgwMFx4MDBceDAw XHgwMFx4MDB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