Use HMAC to verify symmetric key

Change-Id: I8a6c12052c85b8a3a1faf28abd4b4de680720da7