diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2015-04-07 15:13:42 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-08 14:20:06 (GMT) |
commit | 1711045fb11b4aa9afda066ce5fe68b2345d52c5 (patch) | |
tree | 4d115fdff3d9753606e553c2ee2340018f758c14 /crypto | |
parent | ddacc621f6597d503ed6a06e2beb1ed21df759f6 (diff) | |
download | linux-1711045fb11b4aa9afda066ce5fe68b2345d52c5.tar.xz |
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