home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / crypt / 3057 < prev    next >
Encoding:
Text File  |  1992-08-30  |  2.5 KB  |  48 lines

  1. Newsgroups: sci.crypt
  2. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!psych!grunt!eay
  3. From: eay@psych.psy.uq.oz.au (Eric Young)
  4. Subject: Re: DES source code for Aliens
  5. Message-ID: <1992Aug31.023318.7483@psych.psy.uq.oz.au>
  6. Keywords: DES source, non-US citizens
  7. Sender: news@psych.psy.uq.oz.au (Psych's News)
  8. Organization: Psychology Department, University of Queensland
  9. References: <1992Aug24.071236.3172@monu1.cc.monash.edu.au> <134754@lll-winken.LLNL.GOV>
  10. Date: Mon, 31 Aug 1992 02:33:18 GMT
  11. Lines: 35
  12.  
  13. In article <134754@lll-winken.LLNL.GOV>, fletch@framsparc.ocf.llnl.gov (John Fletcher) writes:
  14. |> In article <1992Aug24.071236.3172@monu1.cc.monash.edu.au> amesml@monu1.cc.monash.edu.au (Mark L. Ames) writes:
  15. |> >There is an excellent DES implementation available by ftp from:
  16. |> >ghost.unimi.it in /pub/crypt
  17. |> >nic.funet.fi   in /pub/unix/security/crypt/libdes
  18. |> >ftp.psy.uq.oz.au in /pub/DES
  19. |> 
  20. |> We obtained a copy of this package and tried it.  It works fine on a Vax
  21. |> (and was fast), but it improperly encrypts on a Sun3.  Examination of
  22. |> the source reveals that only little endian computers are provided for;
  23. |> this is strange since the documentation refers to various big endian
  24. |> computers.  We also note that 64-bit computers, whether big or little
  25. |> endian, would give problems.  Are we confused?  Do we have the wrong
  26. |> version?  What's the story?
  27. As author of the package, I think you may have an old version.
  28. The original package written quite some time ago was developed on vax and
  29. MIPS processors (which were running in little-endian mode).
  30. I currently use the package on Sparc, sun3's (68020) (big endian)
  31. and MSDOS boxes (little endian).  I have most of the library working on
  32. a 64bit machine (an ETA10) but most of the problems are being caused
  33. by its C compiler defining long's and int's as 8 bytes and shorts as 4 bytes.
  34. I have not finished the mods for this machine due to work commitments and
  35. the fact I do not have access to the machine (debugging by email :-) but if
  36. your C compiler defines longs as 4 bytes the code should work regardless of
  37. endian (all the DES parts of the library appear to work on the ETA10).
  38.  
  39. The version in pub/DES ftp.psy.uq.oz.au (130.102.32.1) is the most recent
  40. version.  If it still gives some problems, let me know the output of destest
  41. and what compiler etc. you are using on the sun3.
  42.  
  43. eric (who only has 32bit machines to play on :-)
  44.  
  45. -- 
  46. Eric Young | Systems programmer - Psychology Dept. Queensland Uni.
  47. aarnet     | eay@psych.psy.uq.oz.au
  48.