From owner-freebsd-security@FreeBSD.ORG Sun Jan 30 21:38:07 2011 Return-Path: Delivered-To: freebsd-security@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67CEB106564A; Sun, 30 Jan 2011 21:38:07 +0000 (UTC) (envelope-from dmagda@ee.ryerson.ca) Received: from eccles.ee.ryerson.ca (ee.ryerson.ca [141.117.1.2]) by mx1.freebsd.org (Postfix) with ESMTP id 248028FC15; Sun, 30 Jan 2011 21:38:06 +0000 (UTC) Received: from [10.0.1.3] ([69.158.17.2]) (authenticated bits=0) by eccles.ee.ryerson.ca (8.14.4/8.14.4) with ESMTP id p0ULZ05W092413 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 30 Jan 2011 16:35:03 -0500 (EST) (envelope-from dmagda@ee.ryerson.ca) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: David Magda In-Reply-To: Date: Sun, 30 Jan 2011 16:37:40 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <6C7C5856-4551-4BCA-A15B-30E422D028CC@ee.ryerson.ca> To: Mark Murray X-Mailer: Apple Mail (2.1082) X-Mailman-Approved-At: Sun, 30 Jan 2011 22:15:26 +0000 Cc: freebsd-security@FreeBSD.org Subject: Re: Add SHA-256/512 hash algorithm to crypt(3) (kern/124164) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 21:38:07 -0000 On Jan 30, 2011, at 16:22, Mark Murray wrote: > Just as a first cut, I'm going to "FreeBSD-ify" the code, to get it > up to our style(9) standards. Apart from stylistic issues, we already > have SHA256 and SHA512 in our libraries, and they don't have alignment > issues, So I'll use them instead. You've donated to code to "public > domain"; any objection if I make this a BSD 2-clause license with > FreeBSD as the copyright holder? Many places have weird problems with > the concept of "public domain", and 2-clause BSD is pretty darned = close. The patch and PR is not mine. I'm just an interested by-stander. :) It was massage for FreeBSD by KIMURA Yasuhiro (see PR). AFAICT, the = public domain part is from the code provided by Ulrich Drepper = (drepper-at-akkadia.org; his RH e-mail bounces): http://www.akkadia.org/drepper/sha-crypt.html http://www.akkadia.org/drepper/SHA-crypt.txt Not sure which of the two would need to be contacted for the change: = one? both? RH as well? (Open)Solaris is another project that incorporates the code if that = matters: http://src.opensolaris.org/source/search?q=3DDrepper http://arc.opensolaris.org/caselog/PSARC/2007/642/ = http://mail.opensolaris.org/pipermail/security-discuss/2007-December/00207= 0.html=