[IPSEC]: Use HMAC template and hash interface