- #1

shivajikobardan

- 674

- 54

- Homework Statement
- XOR or normal hexa addition in AES?

- Relevant Equations
- None

https://www.networkdls.com//Articles/AESbyExample.pdf

I'm confused because there are lots of XOR in this case. And I am not very technically aware when we'd XOR vs when we'd add. I just follow the guidelines given in standards. But here I got confused in page 9 of that pdf. When we do B7+4B, is it normal hex addition or XOR? Because both are giving same results. I tried for some of my other examples, and they were giving same results. I think it's normal hex addition, but I'm not 100% sure about that.

I was studying the below book and thus. It is not saying that's wrong, but it uses lots of XOR. So, it got me confused.

https://books.google.com.np/books?i...nepage&q=advanced encryption standard&f=false

I'm confused because there are lots of XOR in this case. And I am not very technically aware when we'd XOR vs when we'd add. I just follow the guidelines given in standards. But here I got confused in page 9 of that pdf. When we do B7+4B, is it normal hex addition or XOR? Because both are giving same results. I tried for some of my other examples, and they were giving same results. I think it's normal hex addition, but I'm not 100% sure about that.

I was studying the below book and thus. It is not saying that's wrong, but it uses lots of XOR. So, it got me confused.

https://books.google.com.np/books?i...nepage&q=advanced encryption standard&f=false