Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2444826ybi; Thu, 18 Jul 2019 08:29:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7Tb9+GSq+nnZx66Bmbej3HMkKDgKEJKkd0nvc5OBWjTJnWOXgf6bNcfzr/6xhSIb9qmvz X-Received: by 2002:a17:902:7894:: with SMTP id q20mr48883929pll.339.1563463772202; Thu, 18 Jul 2019 08:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563463772; cv=none; d=google.com; s=arc-20160816; b=z1Ufzzz+Gn3upy/2nriV8jQEqzkwSIG0AfxoB8px1UtU7QLvzwYuHLPNfH6vnOHiLZ TF+f2j2xQkirqSYvqJTXnkSEPg0QEbqi5181VLjPtG2jQa4FGiL9sK6x5mKKAID9qmqJ sOnBhxZY/AjwkQVOTOw5J+COnYkfPbaO3HwNOs434iDq1wt2EP07TvDaWi+6ntcKLpNx Xjcwssk1fFTMFUtltLSF7bvk1evASgWCbXOpC379YJ0iBafbv9eaViWJw5s3cQsEL3DJ gn5CrGKLBb6+zEbSWH5tz3oCNzmmc0MRsd/X0vuF6w8GwBfyMQOCqil6K2/JOiVBrrAF Ajww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=SldwMJRuKMkENilYdfxVh0rTYkYrCqpe33q+A0RST/Y=; b=IRAFh93VXyN/j+OxOWa5Ve66JXORaRR85mussCmiRsek4xKYa4+gdQsstdheZ+Mnqa 54hfkuu2W8XGb0g0pYBU8hU6jMliw7fMy+OiEvYJ/M/COxFhbklsclDOxOdrutx8ze1S 4jr3l37bOfF1NbMOkLuvevxAQ+nsnCDzyhHFSWt0fELN4no9oVjam73dHXAWD5xxixOu Yz2qo5I7yyfB6q24A8IH14XVY2tzVmjQ3pbYIc36AhtKViiQcnHowtDItqMT6fDWxrvL lCN0/HBX7fgaX4hfrcGM5XgN+7qqW+mmQQPoSCJknFMoCTERQmcZLZJWGT3Cw/3ySvsK jT0g== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 39si3577088plc.99.2019.07.18.08.29.17; Thu, 18 Jul 2019 08:29: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727708AbfGRP3P (ORCPT + 99 others); Thu, 18 Jul 2019 11:29:15 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:53394 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfGRP3P (ORCPT ); Thu, 18 Jul 2019 11:29:15 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ho8LF-0001Au-RI; Thu, 18 Jul 2019 23:29:09 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ho8LE-0006hO-SU; Thu, 18 Jul 2019 23:29:08 +0800 Date: Thu, 18 Jul 2019 23:29:08 +0800 From: Herbert Xu To: Pascal Van Leeuwen Cc: Milan Broz , Ard Biesheuvel , Horia Geanta , "linux-crypto@vger.kernel.org" , "dm-devel@redhat.com" Subject: Re: xts fuzz testing and lack of ciphertext stealing support Message-ID: <20190718152908.xiuze3kb3fdc7ov6@gondor.apana.org.au> References: <20190716221639.GA44406@gmail.com> <20190717172823.GA205944@gmail.com> <20190718065223.4xaefcwjoxvujntw@gondor.apana.org.au> <20190718072154.m2umem24x4grbf6w@gondor.apana.org.au> <36e78459-1594-6d19-0ab4-95b03a6de036@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jul 18, 2019 at 10:40:54AM +0000, Pascal Van Leeuwen wrote: > > In fact, using the current cts template around the current xts template actually does NOT > implement standards compliant XTS at all, as the CTS *implementation* for XTS is > different from the one for CBC as implemented by the current CTS template. The template is just a name. The implementation can do whatever it wants for each instance. So obviously we would employ a different implementation for xts compared to cbc. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt