Skip to content
Commit 15539de5 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9fcc704d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment