Skip to main content
12 events
when toggle format what by license comment
Feb 12, 2018 at 23:46 comment added Nark okay you're right, just forgot about this I'm a bit tired.
Feb 12, 2018 at 23:43 comment added chux @Nofix * different from + is an important difference.
Feb 12, 2018 at 22:48 comment added Nark I can't figure out where my code is different then the one from Wikipedia.
Feb 12, 2018 at 22:22 comment added Nark For the key, yea, but for the algorithm, I'll need to check it again and pay more attention to it, as I made mine in classroom with a teacher. Looks like both my version and Wikipedia's one are reversible anyway. But you should be right, additionning sum is looking like to be the right way to code TEA.
Feb 12, 2018 at 22:16 comment added chux @Nofix BTW, do you agree about the bug?
Feb 12, 2018 at 22:15 vote accept Nark
Feb 12, 2018 at 22:13 comment added chux @Nofix See Numbers bigger than 8 bytes in C. Also look for other like posts on SO. A way is to use __uint128_t x = ((__uint128_t) 0x64BitUpperHalf << 64) | 0x64BitLowerHalf);.
Feb 12, 2018 at 22:05 history edited chux CC BY-SA 3.0
added 669 characters in body
Feb 12, 2018 at 22:04 comment added Nark Thanks a lot for all this review ! That was very instructive! Do you know any good and clean way of putting this 128bit number into my key array?
Feb 12, 2018 at 21:52 history edited chux CC BY-SA 3.0
added 669 characters in body
Feb 12, 2018 at 21:40 history edited chux CC BY-SA 3.0
added 669 characters in body
Feb 12, 2018 at 21:30 history answered chux CC BY-SA 3.0