summaryrefslogtreecommitdiffstats
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorHerbert Xu2007-12-01 11:47:07 +0100
committerHerbert Xu2008-01-10 22:16:39 +0100
commit551a09a7a954f720067f207657bbbd26a3fe156a (patch)
tree083daf83f8f7e67e7541f53bd888a2238ffe8b88 /crypto/algapi.c
parent[CRYPTO] authenc: Select HASH in Kconfig (diff)
downloadkernel-qcow2-linux-551a09a7a954f720067f207657bbbd26a3fe156a.tar.gz
kernel-qcow2-linux-551a09a7a954f720067f207657bbbd26a3fe156a.tar.xz
kernel-qcow2-linux-551a09a7a954f720067f207657bbbd26a3fe156a.zip
[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/algapi.c')
0 files changed, 0 insertions, 0 deletions