fix some hmac related things in examples and Flame