add hmac_supported method to backend.

Previously we were implicitly assuming that if a hash was supported then
its hmac equivalent was as well.
4 files changed