Correct processing of AES-SHA stitched ciphers