summaryrefslogtreecommitdiff
path: root/crypto/proc.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-11-02 21:38:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-12-25 11:01:30 +1100
commitdec8b78606ebd5f309c38f2fb10196ce996dd18d (patch)
tree005ef526f1b0e953a3a57e6c991e0921fcd5234b /crypto/proc.c
parent3b2f6df08258e2875f42bd630eece7e7241a053b (diff)
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/proc.c')
0 files changed, 0 insertions, 0 deletions