I was looking at Bitcoin Core code to use its SHA256 code but am confused on where I should be looking at.
In bitcoin/src/crypto/sha256.h there is CSHA256
and in bitcoin/src/crypto/sha256.cpp there are namespaces named sha256_sse4, sha256_shani.
And then there is bitcoin/src/hash.h
Explanations and guidance would be greatly appreciated.