crypto: rmd256 - use swap macro in rmd256_transform
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 18 Jul 2018 17:12:00 +0000 (12:12 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Jul 2018 11:28:36 +0000 (19:28 +0800)
commitd75f482eaface11dd30e73977c245fab5e07c3aa
treecb67569e7aec4cacc7868e93db118af3f5f8c099
parent6b0daa78207b622d768cce2a8251c830256bade9
crypto: rmd256 - use swap macro in rmd256_transform

Make use of the swap macro and remove unnecessary variable *tmp*.
This makes the code easier to read and maintain.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rmd256.c