Modified HMAC generation and challenge in stream manager module.