Common interface to HMAC functionality
