summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-01 10:47:07 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 21:16:39 (GMT)
commit551a09a7a954f720067f207657bbbd26a3fe156a (patch)
tree083daf83f8f7e67e7541f53bd888a2238ffe8b88 /crypto
parent5e553110f27ff77591ec7305c6216ad6949f7a95 (diff)
downloadlinux-551a09a7a954f720067f207657bbbd26a3fe156a.tar.xz
[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 <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions