The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Ghirai on December 17, 2005, 12:51:04 AM

Title: Rijndael masm implementation?
Post by: Ghirai on December 17, 2005, 12:51:04 AM
Are there any Rijndael masm implementations?
Title: Re: Rijndael masm implementation?
Post by: hutch-- on December 18, 2005, 02:51:04 PM
Ghirai,

If you can find a C version, its easy enough to produce a MASM output and then play with it to get its speed up.
Title: Re: Rijndael masm implementation?
Post by: Ghirai on December 22, 2005, 01:26:31 PM
Yeah, C versions are floating around, i'll try to translate it to masm, and then count on you guys to help optimizing it :P
Title: Re: Rijndael masm implementation?
Post by: LaptoniC on December 22, 2005, 06:02:22 PM
I have found http://fp.gladman.plus.com/AES/index.htm page which have asm implemantaion.Hope it works for you.
Title: Re: Rijndael masm implementation?
Post by: Ghirai on December 23, 2005, 12:59:59 PM
Cool, a nasm implementation.
Thanks for the link.
Title: Re: Rijndael masm implementation?
Post by: l_d_allan on February 21, 2006, 03:55:54 PM
I'm curious if there is any update to the Gladman Rijndael code, as far as getting it to work with masm.

As I recall, Dr. Gladman has C test code that optionally invokes nasm/yasm code for the low level key generation and actual encryption/decryption ... so it isn't compatible with masm. However, I found it humbling (and frustrating) to try to figure out all the #define directives and indirection that he uses (but as the old saying goes .... a poor craftsman blames his tools <g>)

My impression is that the Gladman code is the "gold standard" for AES-Rijndael implementation.