News for hackers. Stuff that matters.
Re:How I implemented my own crypto by TheAceOfHearts on Thursday August 03, 2017 @04:28AM (#14917902)
Aren't all undocumented instructions / opcodes actually UB? If you execute an undocumented instruction the processor has to do something.
Re:How I implemented my own crypto by bananaboy on Thursday August 03, 2017 @04:36AM (#14917933)
You can't really accidentally or unintentionally arrive at undefined behaviour in assembly language though. You would have to explicitly use an undocumented instruction or opcode and the result would probably be a hardware interrupt or exception every time.
Re:How I implemented my own crypto by SAI_Peregrinus on Thursday August 03, 2017 @06:53AM (#14918476)
Not quite every time though: https://github.com/xoreaxeaxeax/sandsifter
Re:How I implemented my own crypto by bananaboy on Thursday August 03, 2017 @08:12AM (#14918832)
Woah that's pretty neat! Thanks!