summaryrefslogtreecommitdiff
path: root/crypto/crct10dif_common.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-12crypto: crct10dif - Add fallback for broken initrdsHerbert Xu1-0/+82
Unfortunately, even with a softdep some distros fail to include the necessary modules in the initrd. Therefore this patch adds a fallback path to restore existing behaviour where we cannot load the new crypto crct10dif algorithm. In order to do this, the underlying crct10dif has been split out from the crypto implementation so that it can be used on the fallback path. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>