Just a bit of messing around earlier today with AES-NI for those want a look.
Using ml64 and 64-bit C compilers from Windows SDK so yep, it's in both C/ASM but the example is very basic using CBC mode.
Great code is small and faster, the problem is compatibility. And no offense, with white papers intel is easier to implement.
Regards
Yes, I know, no offense taken :biggrin:
I'm still interested in your finished code but haven't looked into how AES works and can't contribute.
Hi peter_asm,
good example, but I think the cpp source is VS specific.
Gunther
Gunther,
Added a macro for it to compile with mingw (assuming that's what you're using)
The aes.asm can assemble with nasm too using some minor changes.
Quote from: peter_asm on May 18, 2014, 08:41:26 PM
Added a macro for it to compile with mingw (assuming that's what you're using)
The aes.asm can assemble with nasm too using some minor changes.
:t Thank you.
Gunther
Quote from: peter_asm on May 18, 2014, 01:58:48 PM
Yes, I know, no offense taken :biggrin:
I'm still interested in your finished code but haven't looked into how AES works and can't contribute.
Don`t worry, when you have finished the part decrypt the show.
Regards.