Optimized block functions for the ChaCha stream cipher