aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2015-04-07 17:13:42 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-08 22:20:06 +0800
commit1711045fb11b4aa9afda066ce5fe68b2345d52c5 (patch)
tree4d115fdff3d9753606e553c2ee2340018f758c14 /crypto
parentddacc621f6597d503ed6a06e2beb1ed21df759f6 (diff)
crypto: sahara - fix AES descriptor create
The AES implementation still assumes, that the hw_desc[0] has a valid key as long as no new key needs to be set; consequentialy it always sets the AES key header for the first descriptor and puts data into the second one (hw_desc[1]). Change this to only update the key in the hardware, when a new key is to be set and use the first descriptor for data otherwise. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions