crypto: sha256_ssse3 - add sha224 support
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 21 May 2013 14:10:49 +0000 (17:10 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 May 2013 07:43:05 +0000 (15:43 +0800)
commita710f761fc9ae5728765a5917f8beabb49f98483
tree80d291557c53a8d68aeae3d9a39d8a0f719e683c
parent340991e30ccef7b983cf2814ecea610504f5d059
crypto: sha256_ssse3 - add sha224 support

Add sha224 implementation to sha256_ssse3 module.

This also fixes sha256_ssse3 module autoloading issue when 'sha224' is used
before 'sha256'. Previously in such case, just sha256_generic was loaded and
not sha256_ssse3 (since it did not provide sha224). Now if 'sha256' was used
after 'sha224' usage, sha256_ssse3 would remain unloaded.

Cc: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha256_ssse3_glue.c