Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90856 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28742 invoked from network); 23 Jan 2016 21:01:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2016 21:01:32 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:34677] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/C5-03822-A2AE3A65 for ; Sat, 23 Jan 2016 16:01:31 -0500 Received: by mail-lb0-f177.google.com with SMTP id cl12so57147160lbc.1 for ; Sat, 23 Jan 2016 13:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=npHNWjE+BWPUE5MJ3BlfoKQ6Xwzg6jJ4/viml7N6fZs=; b=LtIowTgedbZ0dVgZ0iNMYjPG8thoPpoqJpG5mbv4yuqBY6i/B/XLGmJWfIyQj+XTDp Kb4NwtBAzmkBb6HJtJcAERO1yVRxznjkcgKu2glpMXxfeHCj6uGBsBAt2NrncLkpf5r2 2OkYkqTojtfPznvfSCLZVG4RQe4XsQTyuTg27zW0F7C7xmMGMqQXt0MuUZxt/6jAMy4k +fpxGhjTesp2vnrEyqUvdZfmR+zud6ix3sYWgBMgmrjS34AsRT7g4L9YoZ4FbrDxbuqo 24N8hm6skmoQuIprQ4n8EeN3rc0NR7uaZRGehirRsxxe5DE7woiKKnZ0dYhObqaXZ4+0 OW1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=npHNWjE+BWPUE5MJ3BlfoKQ6Xwzg6jJ4/viml7N6fZs=; b=ZM5qCB9QfUBdLbPt6l3/bG9Q3Z1kk6ep6rQEGPxoPVx/wWWddd479huuWbkVD6J7I4 QJW8lrNJofPWCZKlPpJHer1I8VrwoOi0mQQBmvAsc9w2jm7Eaa2P8xJ7amVJ0sJc1GAG t6nwblBR3TbPKzryyGAb8EHVnHMFkOaTluXTv1+vjr6mA80VCZy6IPs1spa/qHM0u4K1 LSAZos3nwK3qm9JZw0ZAPhehTcpQJ7pl1qRHxSjCXJ/l2Xc+3osWCnjXsE2hTHADaW52 azOPO4TA2ftY4X7q1lvMkfuhjpuhXD2lTcU8eNPIMO9CjgSrOKjgpkpbw+FBIikcWsLg bY9w== X-Gm-Message-State: AG10YOS4L59gombo3TVJ8+9rfMAk599IpiC4d9G8IhSwUEPrW7dsL7izMVZgHqew7wo+S6GLFEfZgXJQurAcsw== X-Received: by 10.112.72.130 with SMTP id d2mr1534610lbv.141.1453582885374; Sat, 23 Jan 2016 13:01:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.199.234 with HTTP; Sat, 23 Jan 2016 13:01:05 -0800 (PST) In-Reply-To: References: Date: Sat, 23 Jan 2016 22:01:05 +0100 Message-ID: To: Jakub Zelenka Cc: PHP internals list Content-Type: multipart/alternative; boundary=001a11c342b688d264052a06a306 Subject: Re: [PHP-DEV] [RFC][VOTE] OpenSSL AEAD support From: ocramius@gmail.com (Marco Pivetta) --001a11c342b688d264052a06a306 Content-Type: text/plain; charset=UTF-8 Just FYI, I'm voting against this proposal, as the number of parameters is simply growing out of control, which involves: - more BC breaks if default parameters change - more security issues if the defaults are unsafe (or become unsafe, for whatever reason) - more cognitive load (it's arguably more complex) In general, this simply pushes too many responsibilities on the interface. Support for AEAD can be moved to a separate function, which involves a minor BC break: collision with pre-existing functions, if anybody was crazy/stupid enough to implement crypto in userland, and even worse in the global namespace. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 20 January 2016 at 17:40, Jakub Zelenka wrote: > Hi, > > The vote is now open: > > https://wiki.php.net/rfc/openssl_aead#voting > > Cheers > > Jakub > --001a11c342b688d264052a06a306--