The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: bozo on October 05, 2005, 09:52:56 AM

Title: DES assembly source
Post by: bozo on October 05, 2005, 09:52:56 AM
I noticed alot of people in asm forums asking for des routines, in past.

The DES code is from 2 sources mainly.

_des_encrypt - Eric Youngs LibDES package (disassembled C code generated by GCC)
des_set_key - Svend Olaf Mikkelson

I put this together for study purpose mainly, and i think it may be of use to
others.

Its pretty messy, but something that can be cleaned up with a little time.

you can pretty much do what ever you like with the code, with exception to Svends des_set_key routine, which is copyright.

[attachment deleted by admin]
Title: Re: DES assembly source
Post by: Eddy on October 05, 2005, 10:54:22 AM
Thanks for sharing, uhhmm ... Kernel ..  :eek  :green2

Kind regards
Eddy
Title: Re: DES assembly source
Post by: bozo on October 05, 2005, 12:38:28 PM
 :green

i know all the hard work was done by Svend and Eric/contributors to libdes/ssleay,
i don't take any credit.

there was a good few times where people asked for DES source, and nobody could
point the people in right direction.

so..i just thought i'd put what i was using myself up online.
actually, if you were to atleast cleanup the str_to_key routine, you would
find it to be more than 2 times faster than C version in OpenSSL.

this is mainly because of Svends key setup routine.

BTW: i know no-one has directly said so..but do any of you happen to find the avatar or comment offensive?
its not meant to be..just my silly sense of humor.

meant to be funny..but i can remove it, if some don't like it :lol
Title: Re: DES assembly source
Post by: Jimg on October 05, 2005, 01:25:18 PM
Hi Kernel-
QuoteBTW: i know no-one has directly said so..but do any of you happen to find the avatar or comment offensive?
its not meant to be..just my silly sense of humor.
I don't find it offensive at all, just not pleasant to look at :P
There are much worse avatars in use on the forum, especially those that change and jump around or depict mutilation, etc.
I'm sure some find it offensive that I use none at all.
Title: Re: DES assembly source
Post by: hutch-- on October 05, 2005, 02:05:27 PM
Kernel,

Its a great avatar and it appeals to my sense of humour. The REAL Colonel may not approve though.  :bg
Title: Re: DES assembly source
Post by: bozo on October 05, 2005, 08:42:58 PM
alright
i leave it as it is!  :green
Title: Re: DES assembly source
Post by: PBrennick on October 06, 2005, 03:52:20 AM
I have no problem with the avatar, either.  I resent the comment, though, because it is way to general.  I do not think it is appropriate but I do not wish to start an argument so in general, I avoid your topics.

P
Title: Re: DES assembly source
Post by: bozo on October 06, 2005, 05:57:41 AM
QuoteI have no problem with the avatar, either.  I resent the comment, though, because it is way to general.  I do not think it is appropriate but I do not wish to start an argument so in general, I avoid your topics.

Gone!
no problem.
Title: Re: DES assembly source
Post by: fenix on June 11, 2007, 01:05:31 AM
does anyone have other sources of DES ?
please
Title: Re: DES assembly source
Post by: drizz on June 11, 2007, 10:02:35 AM
Quote from: fenix on June 11, 2007, 01:05:31 AM
does anyone have other sources of DES ?
please
i have
http://www.asmcommunity.net/board/index.php?topic=22278.0
Title: Re: DES assembly source
Post by: fenix on June 11, 2007, 11:59:14 AM
thanks ! it looks nice and it's really fast !
respect :]
Title: Re: DES assembly source
Post by: drhowarddrfine on June 11, 2007, 07:32:20 PM
The avatar reminds me of Tom Jones, the singer.