• Herbert Xu's avatar
    crypto: aead - Split out geniv into its own module · 20cc01ba
    Herbert Xu authored
    If aead is built as a module along with cryptomgr, it creates a
    dependency loop due to the dependency chain aead => crypto_null =>
    cryptomgr => aead.
    
    This is due to the presence of the AEAD geniv code.  This code is
    not really part of the AEAD API but simply support code for IV
    generators such as seqiv.  This patch moves the geniv code into
    its own module thus breaking the dependency loop.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    20cc01ba
aead.c 7.21 KB