summaryrefslogtreecommitdiff
path: root/lib/sha1.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-06-14 07:35:37 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-15 17:07:53 +0800
commita07203fbfcf146b737781ee4658ed198956036ca (patch)
tree9e9363c209c5180745039ed672b9b5f0682315a6 /lib/sha1.c
parent3cfc3b97211238ffc1a7885ebe62f899180fe043 (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>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions