mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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>
This commit is contained in:
parent
ee1fd870ee
commit
152bdf4cdb
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ static int safexcel_aes_send(struct crypto_async_request *async,
|
||||||
spin_unlock_bh(&priv->ring[ring].egress_lock);
|
spin_unlock_bh(&priv->ring[ring].egress_lock);
|
||||||
|
|
||||||
*commands = n_cdesc;
|
*commands = n_cdesc;
|
||||||
*results = nr_dst;
|
*results = n_rdesc;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
rdesc_rollback:
|
rdesc_rollback:
|
||||||
|
|
Loading…
Reference in a new issue