Use utility functions for HMAC and CMAC.