From: Herbert Xu Date: Sun, 6 Aug 2006 13:03:08 +0000 (+1000) Subject: [CRYPTO] crc32c: Fix unconventional setkey usage X-Git-Tag: v2.6.19-rc1~1297^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25cdbcd9e5d20e431f829cafce48a418830011f4;p=pandora-kernel.git [CRYPTO] crc32c: Fix unconventional setkey usage The convention for setkey is that once it is set it should not change, in particular, init must not wipe out the key set by it. In fact, init should always be used after setkey before any digestion is performed. The only user of crc32c that sets the key is tcrypt. This patch adds the necessary init calls there. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed