• Ard Biesheuvel's avatar
    ppp: mppe: switch to RC4 library interface · 0e5a610b
    Ard Biesheuvel authored
    The MPPE code uses the sync skcipher to invoke the ecb(arc4) skcipher,
    of which only a single generic C code implementation exists. This means
    that going through all the trouble of using scatterlists etc buys us
    very little, and we're better off just invoking the arc4 library directly.
    
    Note that the SHA1 shash used by this driver has several accelerated
    implementations for various architectures, so retaining that part does
    make sense.
    
    Cc: linux-ppp@vger.kernel.org
    Cc: Paul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    0e5a610b
Kconfig 6.2 KB