Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 05:51:49 -0800 (PST)
From:      Brandon Gillespie <brandon@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/lib/libcrypt crypt-md5.c crypt-shs.c crypt.3 crypt.h descrypt.3 shs.3 shs.c shs.h Makefile crypt.c src/lib/libcrypt/test Makefile README cert.c cert.input speedcrypt.c src/secure/lib/libcrypt README README.FreeBSD ...
Message-ID:  <199901211351.FAA10514@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
brandon     1999/01/21 05:51:49 PST

  Modified files:
    lib/libcrypt         Makefile crypt.c 
  Added files:
    lib/libcrypt         crypt-md5.c crypt-shs.c crypt.3 crypt.h 
                         descrypt.3 shs.3 shs.c shs.h 
  Log:
  Rewrite of crypt library to be more modular, and addition of the
  Secure Hashing Algorithm - 1 (SHA-1), along with the further
  refinement of what $x$salt$hash means.  With this new crypt the
  following are all acceptable:
  
      $1$
      $MD5$
      $SHA1$
  
  Note: $2$ is used by OpenBSD's Blowfish, which I considered adding
  as $BF$, but there is no actual need for it with SHA-1.  However,
  somebody wishing to add OpenBSD password support could easilly add
  it in now.
  
  There is also a malloc_crypt() available in the library now, which
  behaves exactly the same as crypt(), but it uses a malloced buffer
  instead of a static buffer.  However, this is not standard so will
  likely not be used much (at all).
  
  Also, for those interested I did a brief speed test Pentium 166/MMX,
  which shows the DES crypt to do approximately 2640 crypts a CPU second,
  MD5 to do about 62 crypts a CPU second and SHA1 to do about 18 crypts
  a CPU second.
  
  Reviewed by:	Mark Murray
  
  Revision  Changes    Path
  1.15      +27 -27    src/lib/libcrypt/Makefile
  1.8       +154 -122  src/lib/libcrypt/crypt.c

  Added files:
    lib/libcrypt/test    Makefile README cert.c cert.input 
                         speedcrypt.c 
  Log:
  Moved from the old secure/lib/libcrypt area, because of the rewrite to how
  the Makefile handles des support by just including the single .c file.
  
  Reviewed by:	Mark Murray

  Removed files:
    secure/lib/libcrypt  README README.FreeBSD crypt-md5.c crypt.3 
    secure/lib/libcrypt/test Makefile README cert.c cert.input 
                             speedcrypt.c 
  Log:
  Removed from the secure/lib/libcrypt area, because of the rewrite to how
  the Makefile handles des support by just including the single .c file.
  
  Reviewed by:	Mark Murray

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901211351.FAA10514>