Re: [kitten] Input on Paul's concerns about aes-cbc
Luke Howard <lukeh@padl.com> Wed, 09 October 2013 02:39 UTC
Return-Path: <lukeh@padl.com>
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 553BF11E8120 for <kitten@ietfa.amsl.com>; Tue, 8 Oct 2013 19:39:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 obRilW2YZP-l for <kitten@ietfa.amsl.com>; Tue, 8 Oct 2013 19:39:05 -0700 (PDT)
Received: from us.padl.com (us.padl.com [216.154.215.154]) by ietfa.amsl.com (Postfix) with ESMTP id B467621F995A for <kitten@ietf.org>; Tue, 8 Oct 2013 19:39:05 -0700 (PDT)
Received: by us.padl.com with ESMTP id r992cqqr029865; Tue, 8 Oct 2013 22:38:54 -0400
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Luke Howard <lukeh@padl.com>
In-Reply-To: <064ca7780d4943b1868670461c2c7184@BLUPR03MB279.namprd03.prod.outlook.com>
Date: Wed, 09 Oct 2013 13:38:51 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <DF97B5AB-D98C-4AE7-B164-C1BB811E1D0B@padl.com>
References: <tslob752llm.fsf@mit.edu> <524ECE01.3060401@mit.edu> <CAK3OfOger4OxBoBc=jCVBRZeXO2OeJa5mRoONij98gnRFPGMyw@mail.gmail.com> <064ca7780d4943b1868670461c2c7184@BLUPR03MB279.namprd03.prod.outlook.com>
To: Paul Miller <paumil@microsoft.com>
X-Mailer: Apple Mail (2.1510)
X-SMTP-Vilter-Version: 1.3.6
X-Spamd-Symbols: AWL,BAYES_00,RDNS_NONE,USER_IN_WHITELIST
X-SMTP-Vilter-Spam-Backend: spamd
X-Spam-Threshold: 5.0
X-Spam-Probability: -20.5
Cc: "kitten@ietf.org" <kitten@ietf.org>, Sam Hartman <hartmans-ietf@mit.edu>
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: Wed, 09 Oct 2013 02:39:11 -0000
On 08/10/2013, at 11:22 AM, Paul Miller (NT) <paumil@microsoft.com> wrote: > With the existing calling pattern used for DES in Windows, callers that did not pass in the SECBUFFER_PADDING into the EncryptMessage call would just fail when the buffer was not aligned. Additionally, if the buffer was a multiple of the block size then it would not get the PKCS#7 padding and then would fail on the other end that expected the pad block. I suspect this would break a whole lot of callers. Are you saying that even for RC4 (where there is one byte of PKCS#7 padding per RFC 4757 7.3), padding would be omitted entirely if the buffer was a multiple of the block size? Isn't this a bug? I noticed this was the case when building an interoperable DCE RPC implementation, but I assumed it was special-cased for GSS_C_DCE_STYLE. [1] -- Luke [1] https://github.com/krb5/krb5/blob/master/src/lib/gssapi/krb5/k5sealiov.c#L89
- [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