[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1236301226.24215.59.camel@yhuang-dev.sh.intel.com>
Date: Fri, 06 Mar 2009 09:00:26 +0800
From: Huang Ying <ying.huang@...el.com>
To: Sebastian Andrzej Siewior <linux-crypto@...breakpoint.cc>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] crypto: Add fpu template, a wrapper for blkcipher
touching FPU
On Thu, 2009-03-05 at 19:54 +0800, Sebastian Andrzej Siewior wrote:
> * Huang Ying | 2009-03-05 10:25:41 [+0800]:
>
> >Blkcipher touching FPU need to be enclosed by kernel_fpu_begin() and
> >kernel_fpu_end(). If they are invoked in cipher algorithm
> >implementation, they will be invoked for each block, so that
> >performance will be hurt, because they are "slow" operations. This
> >patch implements "fpu" template, which makes these operations to be
> >invoked for each request.
> >
> >Signed-off-by: Huang Ying <ying.huang@...el.com>
> >
> >---
> > crypto/Kconfig | 7 ++
> > crypto/Makefile | 1
> > crypto/fpu.c | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 3 files changed, 174 insertions(+)
> >
> >--- a/crypto/Kconfig
> >+++ b/crypto/Kconfig
> >@@ -236,6 +236,13 @@ config CRYPTO_XTS
> > key size 256, 384 or 512 bits. This implementation currently
> > can't handle a sectorsize which is not a multiple of 16 bytes.
> >
> >+config CRYPTO_FPU
> >+ tristate "FPU wrapper"
> >+ select CRYPTO_BLKCIPHER
> >+ select CRYPTO_MANAGER
> >+ help
> >+ FPU: Wrapper for blkcipher touching FPU.
> I as an end-user have to clue what this could be about. I suggest you
> don't make it visible since the explanation won't be helpfull either :)
Yes. That's better. I will change it.
Best Regards,
Huang Ying
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists