Re: [lamps] Call for adoption of draft-housley-lamps-cms-aes-mac-alg

Jonathan Hammell <jfhamme.cccs@gmail.com> Fri, 13 November 2020 19:26 UTC

Return-Path: <jfhamme.cccs@gmail.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31AED3A109D for <spasm@ietfa.amsl.com>; Fri, 13 Nov 2020 11:26:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nT05kNe_p3oW for <spasm@ietfa.amsl.com>; Fri, 13 Nov 2020 11:26:11 -0800 (PST)
Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 163E73A10A2 for <spasm@ietf.org>; Fri, 13 Nov 2020 11:26:10 -0800 (PST)
Received: by mail-oi1-x233.google.com with SMTP id k19so2943339oic.12 for <spasm@ietf.org>; Fri, 13 Nov 2020 11:26:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=khr4lKXh9n3PFWEJK8me5seE7GIPkhWRVTXxDYagOyI=; b=DJ8ag6UiAPa/KKKWh3Hu0/oLSJuSHQU75KGA4koPFUKvd4TgNAwZ3cg0g2LJsHy0y/ QqVp9KB2wSob0gaZIMiBTNWs1vDl2eB+qPRunG8vLchlxvRSS+bnK0ctBr7Fj5eVmHBf BysEDdvq/6G9Ji4UWyb895HXAdrGiQlE85I8UaabzeCCIm7cIEQzzn0QDCxNUMj161Ba anVQHjgYWjQBJIpoiMy9LgoI5Pl4Hj8USh5xxirTWOfrxk/7oWd8vfDw9tOVmLsCcb6d E/BtoRTGKHbFxbu81Degn6Sy/cA8QGvk+5+S/rOpizhd7/2FJUmvqO5oNRLxxiYF6bGO c6kA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=khr4lKXh9n3PFWEJK8me5seE7GIPkhWRVTXxDYagOyI=; b=IOO8XXO9go70lPZsZLdV2mVvx840s8kN9ZVzrpW2oam9/zeH2KCcd7uWuAlwG2YOfa kmZDy7LKwVY/nq5uBdmX74+dgrQxJThu9xsQgF2fYAWhSGlBX/fASyfUDduv+Z7TwVFt RlP6J9XCgifsoCVlWOSTYIoKoHCxBHBr0lJN8OEhz4IaR2zF4mxo0H/Ak6NCg5+VL7R/ cffO34A1OIH6rs3VUkCjsBXvORqzjacqks18M0r3MG7YDNk1x5YTZT1uyRRWGjdm6yWA /bgpVKRQuS1VgEmFGjei5YwBtrAjfSuOjqp8BsSFF2sMEdwHa1y+/Nn+s9s9zjQ+JLSN VZWA==
X-Gm-Message-State: AOAM532rbmTmJk5+AaA1vqovh6SrbhPuYTGQh0c+yVwntQ+4lfH3URI5 cP8IPz+xRSAbVsMHHYP6UkeqHi3njEY/nZUPnpcRXl6qfGqLlA==
X-Google-Smtp-Source: ABdhPJzhbrejoqYjX9vZATUKTFNb2166Z7qICvMMhTvtOil/8rjTeQAhaR0Yj+jtSDUj96iyF+MEodbclCm9CsYn180=
X-Received: by 2002:aca:88b:: with SMTP id 133mr2432561oii.143.1605295569286; Fri, 13 Nov 2020 11:26:09 -0800 (PST)
MIME-Version: 1.0
References: <MN2PR14MB3167E8089405296BFF0E924083E70@MN2PR14MB3167.namprd14.prod.outlook.com> <16255.1605219019@localhost> <CCD13B8D-1394-41A0-88B7-B1EB605530D6@vigilsec.com> <CALhKWgg4KeoACc32WoG5+nudbjL+mjuNQkQaZAbyOmpQs7Q2uA@mail.gmail.com> <55E5AE27-E4FF-465D-8B29-559E7B4247BD@vigilsec.com>
In-Reply-To: <55E5AE27-E4FF-465D-8B29-559E7B4247BD@vigilsec.com>
From: Jonathan Hammell <jfhamme.cccs@gmail.com>
Date: Fri, 13 Nov 2020 14:25:57 -0500
Message-ID: <CALhKWgieeXiW-wTV7HnNufaaHcvsjQD-s2VnS1itdTbLkfk+0w@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: LAMPS <spasm@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/NSbaLnOOqV7hmhZG74Udhn9yQXA>
Subject: Re: [lamps] Call for adoption of draft-housley-lamps-cms-aes-mac-alg
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Nov 2020 19:26:13 -0000

On Fri, Nov 13, 2020 at 2:06 PM Russ Housley <housley@vigilsec.com> wrote:
>
> I was unaware of the ISO/IEC 9797-3 OID, which seems to allow any block cipher, and thus is not able to constrain the tag length based on the specifics of that block cipher.

That is true that 9797-3 does not constrain the tag length based on
the block cipher.  In the normative text for GMAC, it states "GMAC can
be used with any block cipher from ISO/IEC 18033-3 that has a block
length of 128 bits. The resulting MAC is t bits long, where t is a
multiple of 8 and satisfies 64 ≤ t ≤ 128."

Jonathan

> > On Nov 13, 2020, at 1:42 PM, Jonathan Hammell <jfhamme.cccs@gmail.com> wrote:
> >
> > I support adoption of this draft.
> >
> > For reference, the ASN.1 module including GMAC in ISO/IEC 9797-3 specifies:
> > is9797-3 OID ::= {iso standard message-authentication-codes(9797) part3(3)}
> > id-gmac OID ::= {is9797-3 gmac(4)}
> > GmacParameters ::= SEQUENCE {
> >    bcAlgo BlockAlgorithms,
> >    taglength INTEGER,
> >    noncelength INTEGER
> > }
> >
> > where bcAlgo would specify AES-128, AES-192 or AES-256.  Matching
> > other algorithms in 9797-3, the nonce is assumed to be transmitted
> > separately.
> >
> > However, I think the definition of GMACParameters in your I-D makes more sense.
> >
> > Best regards,
> > Jonathan
> >
> > On Fri, Nov 13, 2020 at 9:12 AM Russ Housley <housley@vigilsec.com> wrote:
> >>
> >>
> >>
> >>> On Nov 12, 2020, at 5:10 PM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> >>>
> >>> Signed PGP part
> >>>
> >>> Tim Hollebeek <tim.hollebeek=40digicert.com@dmarc.ietf.org> wrote:
> >>>> https://www.ietf.org/archive/id/draft-housley-lamps-cms-aes-mac-alg-00.txt
> >>>
> >>>
> >>>
> >>>> Please indicate by November 25th whether you support adoption of
> >>>> draft-housley-lamps-cms-aes-mac-alg by the LAMPS WG.
> >>>
> >>> Seems short and to the point.
> >>>
> >>> An example message in an appendix would be nice.
> >>
> >> Sure.  That is something I can do in the next version.
> >>
> >> Russ
> >>
> >> _______________________________________________
> >> Spasm mailing list
> >> Spasm@ietf.org
> >> https://www.ietf.org/mailman/listinfo/spasm
>