commit | a07203fbfcf146b737781ee4658ed198956036ca | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Tue Jun 14 07:35:37 2016 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jun 15 17:07:53 2016 +0800 |
tree | 9e9363c209c5180745039ed672b9b5f0682315a6 | |
parent | 3cfc3b97211238ffc1a7885ebe62f899180fe043 [diff] |
crypto: drbg - use full CTR AES for update The CTR DRBG update function performs a full CTR AES operation including the XOR with "plaintext" data. Hence, remove the XOR from the code and use the CTR mode to do the XOR. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>