Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 152bdf4c authored by Ofer Heifetz's avatar Ofer Heifetz Committed by Herbert Xu
Browse files

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: default avatarOfer Heifetz <oferh@marvell.com>
Signed-off-by: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ee1fd870
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: