summaryrefslogtreecommitdiff
path: root/crypto/algif_aead.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-06-22 10:14:19 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-22 15:49:30 +0800
commit0af735c063b1d3f301664fd95ce77f40038098d9 (patch)
tree5ee035684d1efbadf026b46b70ea5b3961b084d9 /crypto/algif_aead.c
parenta5da65199cc69ff13260292888c6d4644872e34a (diff)
downloadlinux-crypto-0af735c063b1d3f301664fd95ce77f40038098d9.tar.gz
linux-crypto-0af735c063b1d3f301664fd95ce77f40038098d9.zip
crypto: af_alg - Forbid the use internal algorithms
The bit CRYPTO_ALG_INTERNAL was added to stop af_alg from accessing internal algorithms. However, af_alg itself was never modified to actually stop that bit from being used by the user. Therefore the user could always override it by specifying the relevant bit in the type and/or mask. This patch silently discards the bit in both type and mask. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions