Energy-efficient HMAC for wireless communications