Re: [RFC 7/7] crypto: Add PCLMULQDQ accelerated GHASHimplementation
From: Huang Ying
Date: Mon Jul 06 2009 - 23:32:13 EST
Hi, Herbert,
On Sun, 2009-06-21 at 21:51 +0800, Herbert Xu wrote:
> Huang Ying <ying.huang@xxxxxxxxx> wrote:
> > PCLMULQDQ is used to accelerate the most time-consuming part of GHASH,
> > carry-less multiplication. More information about PCLMULQDQ can be
> > found at:
> >
> > http://software.intel.com/en-us/articles/carry-less-multiplication-and-its-usage-for-computing-the-gcm-mode/
> >
> > Because PCLMULQDQ changes XMM state, its usage must be enclosed with
> > kernel_fpu_begin/end, which can be used only in process context, the
> > acceleration is implemented as crypto_ahash. That is, request in soft
> > IRQ context will be deferred to the cryptd kernel thread.
> >
> > Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>
>
> All good.
>
> So once we fully convert everything to shash, this series can
> go in with the minor changes mentioned in this thread.
What's your plan to convert everything to shash? For 2.6.32? How about
the progress? What can I do to help?
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/