ensure ecc used hmac hash