crypto: sha256 - Make lib/crypto/sha256.c suitable for generic use
Before this commit lib/crypto/sha256.c has only been used in the s390 and x86 purgatory code, make it suitable for generic use: * Export interesting symbols * Add -D__DISABLE_EXPORTS to CFLAGS_sha256.o for purgatory builds to avoid the exports for the purgatory builds * Add to lib/crypto/Makefile and crypto/Kconfig Signed-off-by:Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Showing
- arch/s390/purgatory/Makefile 2 additions, 0 deletionsarch/s390/purgatory/Makefile
- arch/x86/purgatory/Makefile 2 additions, 0 deletionsarch/x86/purgatory/Makefile
- crypto/Kconfig 3 additions, 0 deletionscrypto/Kconfig
- include/crypto/sha256.h 3 additions, 2 deletionsinclude/crypto/sha256.h
- lib/crypto/Makefile 3 additions, 0 deletionslib/crypto/Makefile
- lib/crypto/sha256.c 4 additions, 0 deletionslib/crypto/sha256.c
Please register or sign in to comment