Unify api of poly1305 mac implementation.