From owner-cvs-all Thu Jan 21 05:51:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA06460 for cvs-all-outgoing; Thu, 21 Jan 1999 05:51:50 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA06455; Thu, 21 Jan 1999 05:51:49 -0800 (PST) (envelope-from brandon@FreeBSD.org) From: Brandon Gillespie Received: (from brandon@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id FAA10514; Thu, 21 Jan 1999 05:51:49 -0800 (PST) Date: Thu, 21 Jan 1999 05:51:49 -0800 (PST) Message-Id: <199901211351.FAA10514@freefall.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 ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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