[CRYPTO] tcrypt: Use HMAC template and hash interface