On Wed, Jan 16, 2008 at 10:19:04AM -0800, Loc Ho wrote: > Hi, > > For hashing, there are HMAC key if HMAC and digest size. As digest size > is part of the algorithm, there is only HMAC key. Are you referring to > moving the HMAC key from transformation into the request structure? As I > am modeled after ablkcipher_request structure, there will be a context > point 'void *__ctx[] CRYPTO_MINALIGN_ATTR;' for the request operation. No I meant the context that has to be stored between calls to crypto_hash_update and crypto_hash_final. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html