Re: [kitten] Input on Paul's concerns about aes-cbc
Greg Hudson <ghudson@MIT.EDU> Fri, 04 October 2013 14:24 UTC
Return-Path: <ghudson@mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D373021F9C21 for <kitten@ietfa.amsl.com>; Fri, 4 Oct 2013 07:24:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level:
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T2+AjTKsk7tI for <kitten@ietfa.amsl.com>; Fri, 4 Oct 2013 07:23:48 -0700 (PDT)
Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) by ietfa.amsl.com (Postfix) with ESMTP id 60CB521F99FD for <kitten@ietf.org>; Fri, 4 Oct 2013 07:17:47 -0700 (PDT)
X-AuditID: 1209190c-b7fd38e0000009aa-3a-524ece0aafaa
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id 8E.47.02474.A0ECE425; Fri, 4 Oct 2013 10:17:46 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r94EHji1012880; Fri, 4 Oct 2013 10:17:46 -0400
Received: from [18.101.8.199] (vpn-18-101-8-199.mit.edu [18.101.8.199]) (authenticated bits=0) (User authenticated as ghudson@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r94EHbxp023851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 4 Oct 2013 10:17:44 -0400
Message-ID: <524ECE01.3060401@mit.edu>
Date: Fri, 04 Oct 2013 10:17:37 -0400
From: Greg Hudson <ghudson@MIT.EDU>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: Sam Hartman <hartmans-ietf@mit.edu>, kitten@ietf.org
References: <tslob752llm.fsf@mit.edu>
In-Reply-To: <tslob752llm.fsf@mit.edu>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNIsWRmVeSWpSXmKPExsUixCmqrMt1zi/IYOlHDYuvbQ/YLI5uXsXi wOSxZMlPJo+VU0+zBzBFcdmkpOZklqUW6dslcGXMeX2GueAQX8Xem2dZGhgfcncxcnJICJhI LNxzgQnCFpO4cG89WxcjF4eQwD5GidMLz7JAOBsYJVY8nsIE4Rxmkvg7ewELSAuvgJrE2Wdd bCA2i4CqxN+FW5hBbDYBZYmDZ7+B1YgKBEkc3zqBCaJeUOLkzCdgcREBC4kPGy+B1QsL2Ej8 vrKEFcQWApqz+vtpsBpOoPmHnu5k7GLk4GAWsJb4trsIJMwsIC+x/e0c5gmMArOQTJ2FUDUL SdUCRuZVjLIpuVW6uYmZOcWpybrFyYl5ealFuoZ6uZkleqkppZsYwWEqybOD8c1BpUOMAhyM Sjy8Fmf8goRYE8uKK3MPMUpyMCmJ8maBhPiS8lMqMxKLM+KLSnNSiw8xSnAwK4nwHp8ElONN SaysSi3Kh0lJc7AoifPe5LAPEhJITyxJzU5NLUgtgsnKcHAoSfB+BhkqWJSanlqRlplTgpBm 4uAEGc4DNNwNpIa3uCAxtzgzHSJ/ilFRSpz3AEhCACSRUZoH1wtLI68YxYFeEeblOAtUxQNM QXDdr4AGMwENjpLwBRlckoiQkmpgZLydOuXO4ahSwVtScy4XPzBpXN96aP7ql8u+v+zT6DGo qAlkCeTLz23mr5n03tq9e/rBgI/sB9df7OU9IBXybCtX4PzyWX/lwpvX1jxmZt9dZijZs/K6 jn3Wa4nXZWE7W44LnTK28FY8EOK5Jlp1wat/qyeHNN4z7pdatd5haZKIwucVrkcrlViKMxIN tZiLihMBsekRgv4CAAA=
Subject: Re: [kitten] Input on Paul's concerns about aes-cbc
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Oct 2013 14:24:13 -0000
On 10/04/2013 09:48 AM, Sam Hartman wrote: > 1) Do you need any additional information to evaluate Paul's message? I don't think so. We are still curious about the details of legacy application risk (i.e. what kinds of things might a legacy SSPI application do wrong such that it works now but fails with a padded enctype), but the conclusion is pretty clear. > 2) Has Paul's message caused you to revise your opinions in any way? Yes; I think a CBC-padded enctype is more problematic for Microsoft than we had concluded based on previous input. However, I am still uncomfortable with the amount of novel cipher mode design in http://tools.ietf.org/html/draft-ietf-kitten-aes-cts-hmac-sha2-01 to handle short inputs. I am interested in the outcome of the discussion about using a confounder instead of an explicit IV. Although confounders are less efficient than explicit IVs and less consistent with current cryptographic practice, using them does have several advantages (simplifying the CTS short-input problem down to the case of zero-length inputs; reducing the impact of PRNG compromise under specific threat mdels; allowing more implementation sharing with RFC 3962). I have also spent some more time thinking about CTR mode as you suggested earlier (where we pick a random 128-bit nonce and use some function f(nonce, blocknum) to produce the counter for each block), and whether a nonce or block counter collision is any worse than a CBC cipher-block collision. I noted that a CTR nonce collision would leak the XOR of the entire plaintexts of two multi-block messages, while a CBC cipher-block collision or only leaks the XOR of the plaintexts of the two colliding blocks, and a CBC IV/confounder collision only leaks information about how many blocks of two messages are identical.
- [kitten] Input on Paul's concerns about aes-cbc Sam Hartman
- Re: [kitten] Input on Paul's concerns about aes-c… Greg Hudson
- Re: [kitten] Input on Paul's concerns about aes-c… Nico Williams
- Re: [kitten] Input on Paul's concerns about aes-c… Paul Miller (NT)
- Re: [kitten] Input on Paul's concerns about aes-c… Nico Williams
- Re: [kitten] Input on Paul's concerns about aes-c… Luke Howard
- Re: [kitten] Input on Paul's concerns about aes-c… Martin Rex
- Re: [kitten] Input on Paul's concerns about aes-c… Luke Howard
- [kitten] DES enctypes are not PKCS#7 padded (Re: … Tom Yu
- Re: [kitten] DES enctypes are not PKCS#7 padded (… Luke Howard
- Re: [kitten] DES enctypes are not PKCS#7 padded (… Tom Yu
- Re: [kitten] Input on Paul's concerns about aes-c… Luke Howard
- Re: [kitten] Input on Paul's concerns about aes-c… Tom Yu
- Re: [kitten] Input on Paul's concerns about aes-c… Benjamin Kaduk