• Herbert Xu's avatar
    [CRYPTO] cipher: Added encrypt_one/decrypt_one · f28776a3
    Herbert Xu authored
    This patch adds two new operations for the simple cipher that encrypts or
    decrypts a single block at a time.  This will be the main interface after
    the existing block operations have moved over to the new block ciphers.
    
    It also adds the crypto_cipher type which is currently only used on the
    new operations but will be extended to setkey as well once existing users
    have been converted to use block ciphers where applicable.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    f28776a3
cipher.c 12.7 KB