Switch to C sha2 implementation