From: Stefano Stabellini Subject: Re: [PATCH] implement md5 in blktap2, remove ssl dependency Date: Mon, 7 Jun 2010 11:21:58 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 7 Jun 2010, Keir Fraser wrote: > On 04/06/2010 15:22, "Stefano Stabellini" > wrote: > > > Hi all, > > I am adding a public domain implementation of md5 to blktap2, so that it > > doesn't need ssl or gcrypt to work anymore. > > Why is that better than requiring installation of one of gcrypt or crypto > libs? > Because we are requiring installation (and redistribution in case of products based on Xen) of a crypto library just for a simple MD5 checksum function. Redistributing a crypto library is not easy: openssl is difficult to redistribute due to the BSD advert clause, while gcrypto on the other hand is difficult to redistribute outside of the United States as part of a product because it requires explicit authorization for the exact libgcrypto binary you are using. I know that Debian and other distros have already sorted out all that, but I still think that introducing all this pain just for an MD5 function is unreasonable.