aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
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
commit15539de5c958d4943cc2f2f35f7e313bff5922b6 (patch)
treeb1534509e5e6f08737bc23da9eb690a34e75141f /include/linux/crypto.h
parentcrypto: echainiv - Only hold RNG during initialisation (diff)
downloadlinux-dev-15539de5c958d4943cc2f2f35f7e313bff5922b6.tar.xz
linux-dev-15539de5c958d4943cc2f2f35f7e313bff5922b6.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 'include/linux/crypto.h')
0 files changed, 0 insertions, 0 deletions