diff options
author | Ofer Heifetz <oferh@marvell.com> | 2017-06-15 09:56:22 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-20 11:21:44 +0800 |
commit | 152bdf4cdb9c20e1858bc1b754c7bfb984a6ea14 (patch) | |
tree | b0b33755a2a5627c750b00aa898c672ebc02c70c /drivers/crypto/inside-secure/safexcel_cipher.c | |
parent | ee1fd870ee09ea5636b3d7a73769cd699241c77c (diff) | |
download | op-kernel-dev-152bdf4cdb9c20e1858bc1b754c7bfb984a6ea14.zip op-kernel-dev-152bdf4cdb9c20e1858bc1b754c7bfb984a6ea14.tar.gz |
crypto: inside-secure - align the cipher and hash send functions
The cipher and hash send functions both set the results variable, to be
used later by the caller. Align the way they're setting this variable.
Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel_cipher.c')
-rw-r--r-- | drivers/crypto/inside-secure/safexcel_cipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/inside-secure/safexcel_cipher.c b/drivers/crypto/inside-secure/safexcel_cipher.c index 59e6081..8eea4d3 100644 --- a/drivers/crypto/inside-secure/safexcel_cipher.c +++ b/drivers/crypto/inside-secure/safexcel_cipher.c @@ -269,7 +269,7 @@ static int safexcel_aes_send(struct crypto_async_request *async, spin_unlock_bh(&priv->ring[ring].egress_lock); *commands = n_cdesc; - *results = nr_dst; + *results = n_rdesc; return 0; rdesc_rollback: |