From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Move sha1 to C? Date: Mon, 23 May 2011 04:02:04 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306094552 17462 80.91.229.12 (22 May 2011 20:02:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 May 2011 20:02:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 22 22:02:26 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOEr3-0000NF-6G for ged-emacs-devel@m.gmane.org; Sun, 22 May 2011 22:02:25 +0200 Original-Received: from localhost ([::1]:37805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOEr2-0004Xf-PG for ged-emacs-devel@m.gmane.org; Sun, 22 May 2011 16:02:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOEr0-0004XU-Lg for emacs-devel@gnu.org; Sun, 22 May 2011 16:02:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOEqz-0005nB-SM for emacs-devel@gnu.org; Sun, 22 May 2011 16:02:22 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOEqz-0005n7-Mo for emacs-devel@gnu.org; Sun, 22 May 2011 16:02:21 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QOEqy-0000Lh-Cy for emacs-devel@gnu.org; Sun, 22 May 2011 22:02:20 +0200 Original-Received: from 114.247.10.82 ([114.247.10.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 May 2011 22:02:20 +0200 Original-Received: from sdl.web by 114.247.10.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 May 2011 22:02:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.247.10.82 Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.7) Cancel-Lock: sha1:5fiiwAWU7jcNr1fx1IjyHaxIVRk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139630 Archived-At: On 2011-05-23 03:04 +0800, Stefan Monnier wrote: > I'm not sure if we discussed it in the past, but I wouldn't mind using > sha1 from a C library. Excellent. Do you mind if I do the following: 1. add sha1.[ch] from gnulib 2. export sha1 to elisp 3. obsolete sha1.el Should the signature of sha1 stay as is or change to be similar to md5? (md5 OBJECT &optional START END CODING-SYSTEM NOERROR) Leo