I'm using OpenSSL (openssl/sha.h) to calculate SHA256 hashes in a performance critical application, written in C. I'm wondering if OpenSSL really uses the SHA256 CPU instructions or if it just calculates SHA256 hash by itself?
Is there a way, to find which way OpenSSL is doing this calculation?