• H
    crypto: af_alg - Forbid the use internal algorithms · 15539de5
    Herbert Xu 提交于
    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: NHerbert Xu <herbert@gondor.apana.org.au>
    15539de5
af_alg.c 9.8 KB