Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272576AbTHKNbn (ORCPT ); Mon, 11 Aug 2003 09:31:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272577AbTHKNbn (ORCPT ); Mon, 11 Aug 2003 09:31:43 -0400 Received: from blackbird.intercode.com.au ([203.32.101.10]:55308 "EHLO blackbird.intercode.com.au") by vger.kernel.org with ESMTP id S272576AbTHKNbj (ORCPT ); Mon, 11 Aug 2003 09:31:39 -0400 Date: Mon, 11 Aug 2003 23:31:18 +1000 (EST) From: James Morris To: Pascal Brisset cc: Fruhwirth Clemens , , , , Subject: Re: [PATCH] loop: fixing cryptoloop troubles. In-Reply-To: <20030811083634.B5817340013E@mwinf0601.wanadoo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 755 Lines: 22 On Mon, 11 Aug 2003, Pascal Brisset wrote: > > Ok, please take into account the case where src == dst. > > OK, looks like there is a tricky interplay between algorithms and > transforms. Cipher implementors will need documentation here, e.g. > "cia_encrypt and cia_decrypt are always called with src==dst UNLESS > we are running in CBC mode AND cia_ivsize!=0" (Please confirm...) All implementors need to know at that level is that src may equal dst. - James -- James Morris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/