From: Herbert Xu Date: Sun, 2 Nov 2008 13:38:11 +0000 (+0800) Subject: crypto: hash - Add import/export interface X-Git-Tag: v2.6.29-rc1~589^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec8b78606ebd5f309c38f2fb10196ce996dd18d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed