cryptolib: rename SHA* function to avoid openssl collision
When linking tools that need OpenSSL functions on the target, the
resolution of SHA* functions was being redirected to the firmware
cryptolib instead of the OpenSSL implementations, which was causing
OpenSSL calls to crash. This renames the internal implementations
to avoid the collision.
TEST=make runtests passes, mount-encrypted runs on target again.
Signed-off-by: Kees Cook <email@example.com>
Reviewed-by: Bill Richardson <firstname.lastname@example.org>
7 files changed