On Tue, May 31, 2016 at 01:11:57PM +0200, Stephan Mueller wrote: > The CTR DRBG code always set the key for each sym cipher invocation even > though the key has not been changed. > > The patch ensures that the setkey is only invoked when a new key is > generated by the DRBG. > > With this patch, the CTR DRBG performance increases by more than 150%. > > Signed-off-by: Stephan Mueller <smueller@xxxxxxxxxx> Patch applied. Thanks! -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html