On Tue, May 13, 2014 at 04:19:45PM -0700, Tim Chen wrote: > > diff --git a/crypto/shash.c b/crypto/shash.c > index 929058a..6f40424 100644 > --- a/crypto/shash.c > +++ b/crypto/shash.c > @@ -229,6 +229,42 @@ int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) > } > EXPORT_SYMBOL_GPL(shash_ahash_update); > > +int shash_ahash_mcryptd_update(struct ahash_request *req, > + struct shash_desc *desc) > +{ > + struct crypto_shash *tfm = desc->tfm; > + struct shash_alg *shash = crypto_shash_alg(tfm); > + > + /* alignment is to be done by multi-buffer crypto algorithm if needed */ > + > + return shash->update(desc, NULL, 0); > +} > +EXPORT_SYMBOL_GPL(shash_ahash_mcryptd_update); Why are these functions in shash.c instead of mcryptd.c? -- Email: Herbert Xu <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