• James Morris's avatar
    [CRYPTO]: Cleanups and more consistency checks. · 03882e04
    James Morris authored
    - Removed local_bh_disable() from kmap wrapper, not needed now with
    two atomic kmaps.
    - Nuked atomic flag, use in_softirq() instead.
    - Converted crypto_kmap() and crypto_yield() to check in_softirq().
    - Check CRYPTO_MAX_CIPHER_BLOCK_SIZE during alg init.
    - Try to initialize as much at compile time as possible
    (feedback from Christoph Hellwig).
    - Clean up list handling a bit (feedback from Christoph Hellwig).
    03882e04
des.c 38.9 KB