• Herbert Xu's avatar
    [CRYPTO] api: Add aead crypto type · 1ae97820
    Herbert Xu authored
    This patch adds crypto_aead which is the interface for AEAD
    (Authenticated Encryption with Associated Data) algorithms.
    
    AEAD algorithms perform authentication and encryption in one
    step.  Traditionally users (such as IPsec) would use two
    different crypto algorithms to perform these.  With AEAD
    this comes down to one algorithm and one operation.
    
    Of course if traditional algorithms were used we'd still
    be doing two operations underneath.  However, real AEAD
    algorithms may allow the underlying operations to be
    optimised as well.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    1ae97820
aead.c 2.7 KB