I changed the implementation of the other SHA digests to use EVP also.
I verified that, with these changes, scram-sha-256 works when FIPS is enabled.
Attachment:
sha2.h.diff
Description: Binary data
Attachment:
sha2_openssl.c.diff
Description: Binary data