Skip to content
  • Herbert Xu's avatar
    crypto: shash - Export/import hash state only · 99d27e1c
    Herbert Xu authored
    
    
    This patch replaces the full descriptor export with an export of
    the partial hash state.  This allows the use of a consistent export
    format across all implementations of a given algorithm.
    
    This is useful because a number of cases require the use of the
    partial hash state, e.g., PadLock can use the SHA1 hash state
    to get around the fact that it can only hash contiguous data
    chunks.
    
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    99d27e1c