Watch this Author's files
Thank you very much. I did not understand the specification completely. I was always computing the xor for individual bits and not using this result while doing a left shift.
Thanks for code and the understanding.
appreciate your help and support.