Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60804 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86385 invoked from network); 12 Jun 2012 14:38:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jun 2012 14:38:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:50072] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/9E-18025-07457DF4 for ; Tue, 12 Jun 2012 10:38:40 -0400 Received: by qcmt36 with SMTP id t36so2734221qcm.29 for ; Tue, 12 Jun 2012 07:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w1V/o0s7uYx/FlRQOfu3t6enVM68il7RxQsVeocvxIU=; b=qgZfa9ggyr5Qp3YqZLmW4e6LRhMYRY5B6LQY/qxdNcLTbSredmHQbpsCh7yrBZz5WA o/1zkEC1Doiy4gcjerwfos2dIIeZtgEx5GotSHGoo1kcIm9gdT2nZCRzmUpeowxzJac9 /ALmA4FA/5GWIBcBzO3lW8HuWyQTstgowwf3m7ACMa8DVplP2g3eBep3AzHnXgjUQGOP BCA4lppatG78jkW1cr0v93B+oVyaXb1Q0/WdGH7vAScoFnH2vPR4Q3Z1KBvBwlgFlN2M BZnmBBXSMzA+QvtgiMG7Gfp21LBB0wzvhTJygdJQe9FyxnEO6KsrxWz8f0DrD8YCeaA7 /6ZA== MIME-Version: 1.0 Received: by 10.224.107.195 with SMTP id c3mr20239797qap.23.1339511917538; Tue, 12 Jun 2012 07:38:37 -0700 (PDT) Received: by 10.229.49.204 with HTTP; Tue, 12 Jun 2012 07:38:37 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Jun 2012 10:38:37 -0400 Message-ID: To: Pierre Joye Cc: Stanislav Malyshev , David Soria Parra , Derick Rethans , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] PBKDF2 addition to OpenSSL - Why Not Hash? From: ircmaxell@gmail.com (Anthony Ferrara) Pierre, > I am all for having it in hash as well. But yes, it requires more work > that may need additional RFC (changing the API to allow more options > need discussions). What options are needed? The API refactoring that I have done has all been to static functions, and extracting methods from public ones. I didn't need to change any public APIs (that I saw). I'm not sure what "more options" intended to mean (by you, or by Scott), but I don't see the need, as it's implemented and passes tests without that. If I'm missing something, please let me know. I'm not arguing that it doesn't need an RFC, just trying to clarify the API change. The only API change would be the addition of the method (at least based on my implementation)... So if it still needs an RFC, I'm fine with that. I'll whip one up for mine after I get the PR tested (I have it applied successfully, just want to verify it a few more times by re-compiling a few times before submitting the PR and writing the RFC): https://github.com/ircmaxell/php-src/tree/hash_pbkdf2 > That being said, I am really not in favor of having it yet in 5.4. For > two reasons, first 5.4 is bugs fixes only, no new feature. The second > reason is the whole thing behind this addition. As it looks self > contained, I am not convinced that it is a good choice, or that it is > well tested or designed (api wised) yet. I would prefer to leave it > master for now and see if it is usable and stable for php-next. I have > to ask to revert this addition in the 5.4 branch. No argument there at all. While it would be nice to get it in 5.4, I can certainly live with 5.5. Especially with the more rapid release cycles that have been occurring here (instead of 3 to 4 years between releases). Thanks! Anthony