lkml.org 
[lkml]   [2014]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/8] DRBG: efficiency patches
    On Sun, Aug 17, 2014 at 05:37:04PM +0200, Stephan Mueller wrote:
    > Hi,
    >
    > The following patch set contains random fixes to increase the efficiency of
    > the DRBG. Changes include the removal of unneeded memset(0) and sanity
    > checks. All changes do not weaken the implementation as only code is
    > removed that is clearly covered by other code paths.
    >
    > In addition, the cpu_to_be kernel function together with a type cast is
    > used to convert an integer into its string representation. This patch
    > increases the speed of the DRBG by 10%.
    >
    > Stephan Mueller (8):
    > DRBG: replace int2byte with cpu_to_be
    > DRBG: kzfree does not need a check for NULL pointer
    > DRBG: remove superflowous checks
    > DRBG: remove superflowous memset(0)
    > DRBG: use kmalloc instead of kzalloc for V and C
    > DRBG: remove unnecessary sanity checks
    > DRBG: remove configuration of fixed values
    > DRBG: remove unnecessary sanity check for shadow state

    All applied. Thanks!
    --
    Email: Herbert Xu <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: 2014-08-25 15:01    [W:2.661 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site