Properly set HMAC length for incoming packets.