• H
    crypto: shash - Export/import hash state only · 99d27e1c
    Herbert Xu 提交于
    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: NHerbert Xu <herbert@gondor.apana.org.au>
    99d27e1c
shash.c 14.0 KB