From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1788 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Help-wanted tasks for musl Date: Wed, 29 Aug 2012 17:14:59 +0200 Message-ID: <20120829151459.GJ1104@port70.net> References: <20120819165652.GE16602@port70.net> <20120819172921.GF16602@port70.net> <20120820005128.GB27715@brightrain.aerifal.cx> <20120820013502.GG16602@port70.net> <20120820013950.GC27715@brightrain.aerifal.cx> <20120820015854.GH16602@port70.net> <20120820021223.GE27715@brightrain.aerifal.cx> <20120828200942.GF1104@port70.net> <20120828233506.GG1104@port70.net> <20120829143012.GT27715@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1346253314 27747 80.91.229.3 (29 Aug 2012 15:15:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2012 15:15:14 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1789-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 29 17:15:16 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1T6jz7-00089N-Hd for gllmg-musl@plane.gmane.org; Wed, 29 Aug 2012 17:15:13 +0200 Original-Received: (qmail 24236 invoked by uid 550); 29 Aug 2012 15:15:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 24226 invoked from network); 29 Aug 2012 15:15:11 -0000 Content-Disposition: inline In-Reply-To: <20120829143012.GT27715@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1788 Archived-At: * Rich Felker [2012-08-29 10:30:12 -0400]: > see the attached for my proposed changes. > looks ok > /* key limit is not part of the original design, added for DoS protection */ > #define KEY_MAX 256 > #define SALT_MAX 16 > #define ROUNDS_DEFAULT 5000 > #define ROUNDS_MIN 1000 > #define ROUNDS_MAX 999999 > i'd add a comment like /* max rounds limit is lower than in the reference */