From: Herbert Xu Date: Sat, 1 Dec 2007 10:47:07 +0000 (+1100) Subject: [CRYPTO] api: Sanitise mask when allocating ablkcipher/hash X-Git-Tag: v2.6.25-rc1~1242^2~50 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=551a09a7a954f720067f207657bbbd26a3fe156a;p=pandora-kernel.git [CRYPTO] api: Sanitise mask when allocating ablkcipher/hash When allocating ablkcipher/hash objects, we use a mask that's wider than the usual type mask. This patch sanitises the mask supplied by the user so we don't end up using a narrower mask which may lead to unintended results. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed