In all instances where the internal function `hash_algorithm_get()` is used in `cc310_lib_hash.c`, the output is inverted, making would should be a successful return code return an error. SHA256 hashing seems to work fine if the two locations where this function is used is fixed.