]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha256 - Move lib/sha256.c to lib/crypto
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Aug 2019 14:24:31 +0000 (16:24 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:35 +0000 (14:57 +1000)
commitf0dd839e7ec43031b03babef747f702764190b71
treeabc728ea04dca8c72d9529fbde034496d7aa5a28
parent807e1b7a0e4c464775509a7ada1e1aa882351e23
crypto: sha256 - Move lib/sha256.c to lib/crypto

Generic crypto implementations belong under lib/crypto not directly in
lib, likewise the header should be in include/crypto, not include/linux.

Note that the code in lib/crypto/sha256.c is not yet available for
generic use after this commit, it is still only used by the s390 and x86
purgatory code. Making it suitable for generic use is done in further
patches in this series.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/purgatory/Makefile
arch/s390/purgatory/purgatory.c
arch/x86/purgatory/Makefile
arch/x86/purgatory/purgatory.c
include/crypto/sha256.h [new file with mode: 0644]
include/linux/sha256.h [deleted file]
lib/crypto/sha256.c [new file with mode: 0644]
lib/sha256.c [deleted file]