]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha256 - Fix some coding style issues
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Aug 2019 14:24:29 +0000 (16:24 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:34 +0000 (14:57 +1000)
commit147217058964bb1ee2a71f09a48a6e6fe147f105
tree8079a82367045d149607adb960fdeae67de207a6
parentd5e8236fe20d9d38f7874dda218ea2b4103cf2ff
crypto: sha256 - Fix some coding style issues

For some reason after the first 15 steps the last statement of each
step ends with "t1+t2", missing spaces around the "+". This commit
fixes this. This was done with a 's/= t1+t2/= t1 + t2/' to make sure
no functional changes are introduced.

Note the main goal of this is to make lib/sha256.c's sha256_transform
and its helpers identical in formatting too the duplcate implementation
in crypto/sha256_generic.c so that "diff -u" can be used to compare them
to prove that no functional changes are made when further patches in
this series consolidate the 2 implementations into 1.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/sha256.c