On Wed, 2014-05-14 at 08:10 +0800, Herbert Xu wrote:
> 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?

Sure, I can move them to mcryptd.c.

Tim


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to