• Herbert Xu's avatar
    [CRYPTO] gcm: Fix ICV handling · 6160b289
    Herbert Xu authored
    The crypto_aead convention for ICVs is to include it directly in the
    output.  If we decided to change this in future then we would make
    the ICV (if the algorithm has an explicit one) available in the
    request itself.
    
    For now no algorithm needs this so this patch changes gcm to conform
    to this convention.  It also adjusts the tcrypt aead tests to take
    this into account.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    6160b289
gcm.c 11.3 KB