News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DES assembly source

Started by bozo, October 05, 2005, 09:52:56 AM

Previous topic - Next topic

bozo

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]

Eddy

Thanks for sharing, uhhmm ... Kernel ..  :eek  :green2

Kind regards
Eddy
Eddy
www.devotechs.com -- HIME : Huge Integer Math and Encryption library--

bozo

 :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

Jimg

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.

hutch--

Kernel,

Its a great avatar and it appeals to my sense of humour. The REAL Colonel may not approve though.  :bg
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

bozo

alright
i leave it as it is!  :green

PBrennick

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
The GeneSys Project is available from:
The Repository or My crappy website

bozo

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.

fenix

does anyone have other sources of DES ?
please

drizz

The truth cannot be learned ... it can only be recognized.

fenix

thanks ! it looks nice and it's really fast !
respect :]

drhowarddrfine

The avatar reminds me of Tom Jones, the singer.