Switch to context based MAC generation.

Plays better with streamed messages.
Updated native implementation to better use 64 bits