mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-23 00:52:53 +00:00
It is often useful to save the partial state of a hash function so that it can be used as a base for two or more computations. The most prominent example is HMAC where all hashes start from a base determined by the key. Having an import/export interface means that we only have to compute that base once rather than for each message. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
7.3 KiB
7.3 KiB