replace chacha_xor_core function with a version that is verified working, given that its input data arrives in a specific ordering (differs from the primary order)