]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: drbg - HMAC-SHA1 DRBG has crypto strength of 128 bits
authorStephan Mueller <smueller@chronox.de>
Sun, 6 Jul 2014 00:26:37 +0000 (02:26 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 8 Jul 2014 13:18:25 +0000 (21:18 +0800)
commit51a9a86cb8e749ac65712312ced1c489e8d6eb07
tree5ffa7a25792074c99f5f2b2b011a283045ab5594
parentb0c81490f3501e8ef00d3e1cf56a1069e2f02070
crypto: drbg - HMAC-SHA1 DRBG has crypto strength of 128 bits

The patch corrects the security strength of the HMAC-SHA1 DRBG to 128
bits. This strength defines the size of the seed required for the DRBG.
Thus, the patch lowers the seeding requirement from 256 bits to 128 bits
for HMAC-SHA1.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c