• Eric Biggers's avatar
    crypto: talitos - stop using crypto_ahash::init · 9826d1d6
    Eric Biggers authored
    The function pointer crypto_ahash::init is an internal implementation
    detail of the ahash API that exists to help it support both ahash and
    shash algorithms.  With an upcoming refactoring of how the ahash API
    supports shash algorithms, this field will be removed.
    
    Some drivers are invoking crypto_ahash::init to call into their own
    code, which is unnecessary and inefficient.  The talitos driver is one
    of those drivers.  Make it just call its own code directly.
    Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    9826d1d6
talitos.c 103 KB