• H
    [CRYPTO] cipher: Added encrypt_one/decrypt_one · f28776a3
    Herbert Xu 提交于
    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: NHerbert Xu <herbert@gondor.apana.org.au>
    f28776a3
crypto.h 17.0 KB