lkml.org 
[lkml]   [2010]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] crypto, Speed testing support for ghash
    On Mon, Mar 01, 2010 at 04:06:44PM +0800, Huang Ying wrote:
    > Because ghash needs setkey, the setkey and keysize template support
    > for test_hash_speed is added.
    >
    > Signed-off-by: Huang Ying <ying.huang@intel.com>
    > ---
    > crypto/tcrypt.c | 122 +++++++++++++++++++++++++++++++++++---------------------
    > crypto/tcrypt.h | 1
    > 2 files changed, 78 insertions(+), 45 deletions(-)
    >
    > --- a/crypto/tcrypt.c
    > +++ b/crypto/tcrypt.c
    > @@ -395,12 +395,13 @@ out:
    > }
    >
    > static void test_hash_speed(const char *algo, unsigned int sec,
    > - struct hash_speed *speed)
    > + struct hash_speed *speed, u8 *keysize)

    Can we possibly move keysize into struct hash_speed to reduce
    the churn?

    Thanks,
    --
    Visit Openswan at http://www.openswan.org/
    Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


    \
     
     \ /
      Last update: 2010-03-02 12:37    [W:0.022 / U:296.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site