From: Herbert Xu Subject: Re: [PATCH 3/3] crc32c: Implement a self-test for CRC32c Date: Thu, 1 Sep 2011 14:41:11 +0800 Message-ID: <20110901064111.GA27893@gondor.apana.org.au> References: <20110901003317.32645.16843.stgit@elm3c44.beaverton.ibm.com> <20110901003336.32645.32746.stgit@elm3c44.beaverton.ibm.com> <03ac01cc6869$9cd23b60$d676b220$@systemfabricworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "'Darrick J. Wong'" , 'Andreas Dilger' , 'Theodore Tso' , 'David Miller' , 'linux-kernel' , 'Mingming Cao' , 'linux-crypto' , 'linux-fsdevel' , linux-ext4@vger.kernel.org To: Bob Pearson Return-path: Content-Disposition: inline In-Reply-To: <03ac01cc6869$9cd23b60$d676b220$@systemfabricworks.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Thu, Sep 01, 2011 at 12:40:08AM -0500, Bob Pearson wrote: > Hi Darrick, > > The same code in crc32.c was helpful to measure performance and help code tuning as well as indicate correctness. Otherwise the code in crypto may be enough to test all the corner cases. If this survives the review I wonder if there is a way to combine crc32 and crc32c together somehow. I like yours because you can load/unload and not need the memory permanently. You can unload the crypto testmgr module too. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt