diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-11-02 21:38:11 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 11:01:30 +1100 |
commit | 60493f7e02d403632a107d02584deef2a1834fd4 (patch) | |
tree | 2e15543fc4ef5d89ed8c57deb9ff95f70bb86f6c /crypto/sha256_generic.c | |
parent | 3ecb2fc5a7c7bc4e31cecabc3d11578a62d1aa23 (diff) | |
download | linux-crypto-60493f7e02d403632a107d02584deef2a1834fd4.tar.gz linux-crypto-60493f7e02d403632a107d02584deef2a1834fd4.zip |
crypto: hash - Add import/export interface
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>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions