[CRYPTO] hmac: Add crypto template implementation