If you want more of an idea of how this all works, have a read of the readme file in SSLeay/crypto/des/asm. SSLeay can be found at ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL.