Return-Path: <rransom.8774@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com
 (Postfix) with ESMTP id B389A1AF0D1 for <cfrg@ietfa.amsl.com>;
 Sun,  5 Jan 2014 09:24:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No,
 score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,
 FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 i27xagDbPcfd for
 <cfrg@ietfa.amsl.com>; Sun,  5 Jan 2014 09:24:18 -0800 (PST)
Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com
 [IPv6:2607:f8b0:400d:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id
 162FE1AF0D0 for <cfrg@irtf.org>; Sun,  5 Jan 2014 09:24:18 -0800 (PST)
Received: by mail-qc0-f171.google.com with SMTP id c9so16826005qcz.30 for
 <cfrg@irtf.org>; Sun, 05 Jan 2014 09:24:09 -0800 (PST)
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:content-transfer-encoding;
 bh=tPzJRyAZtU1HKTWeLIV5tvBtKfrjAWYmXJ1+/LQYIUg=;
 b=RPj2Eop1pMxNN8QmQriQmDYfaU511qYtKNfKbBQmlVZ48naRrWQE9ZkI74QSzJjF3d
 8X+ZtamKADrdPLtDNX7dEqfxQozG0aGE/yvToHZQC9be+BwOZ2TQnBRU8PI177JKsdaA
 zgmdaTAXbR5htMDfrZr3gPTH7OtoyL4zDSLYTF30bD0QJEsECwFYJkx2jg08k44x3WA4
 tR60l5mdvKTGzj9twlcGJY98hGLfdaf9JcoTOJGKizrGXhK9OAiZaxlmUz1Nq0lZG999
 m0W3rhK9iQh8fnl7QvHnQOG9MVD8O/MGz0lRXM2Ts+UOSQAdo5ld6t9orwvY/Kbm1F/g KzCg==
MIME-Version: 1.0
X-Received: by 10.224.2.6 with SMTP id 6mr83366069qah.12.1388942649770;
 Sun, 05 Jan 2014 09:24:09 -0800 (PST)
Received: by 10.229.181.132 with HTTP; Sun, 5 Jan 2014 09:24:09 -0800 (PST)
In-Reply-To: <52C60713.6030204@cisco.com>
References: <52C60713.6030204@cisco.com>
Date: Sun, 5 Jan 2014 09:24:09 -0800
Message-ID: <CABqy+soV43iB+qZ2mA49g1pntjXsZrr8Wh3ukvmPD+DCAHh8hg@mail.gmail.com>
From: Robert Ransom <rransom.8774@gmail.com>
To: David McGrew <mcgrew@cisco.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: "John Foley \(foleyj\)" <foleyj@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] authenticated encryption with replay protection (AERO) -
 internet draft
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>,
 <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
 <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Jan 2014 17:24:19 -0000

On 1/2/14, David McGrew <mcgrew@cisco.com> wrote:
> Hi CFRG,
>
> I have a new proposal for authenticated encryption, which is
> particularly well suited for communication security.   An internet draft
> describing the idea has been published at
> http://tools.ietf.org/html/draft-mcgrew-aero-00 and I would like to
> request a slot at the upcoming CFRG meeting to present this work. (I am
> assuming that we will be meeting in London in March along with IETF
> 89).   I alluded to this work on the thread about misuse resistant
> authenticated encryption earlier today.
>
>  From the draft:
>
> Authenticated Encryption with Replay prOtection (AERO)
>
>     This document describes Authenticated Encryption with Replay
>     prOtection (AERO), a cryptographic technique that provides all of the
>     essential security services needed for communication security. AERO
>     offers several advantages over other methods: it has more compact
>     messages, provides stronger misuse resistance, avoids the need to
>     manage implicit state, and is simpler to use.  This document defines
>     a particular AERO algorithm as well as a registry for such
>     algorithms.
>
> Comments are welcome, and I especially encourage discussion about the
> appropriate goals for authenticated encryption.  The draft explains the
> rationale well enough, I believe, though it does not mention decryption
> misuse.   I will send a separate note on that topic.
>
> A formal proof of security has not yet been published, but is believed
> to be possible, and the draft does include a security analysis.

Since AERO uses a large-block block cipher, I believe that the
folklore approach (=E2=80=98count the bits=E2=80=99) used in the draft is a=
dequate, as
long as it is used with care.  (It can be abused: section 4 (PDF page
6) of <https://www.cl.cam.ac.uk/~rja14/Papers/robustness.pdf> gives
the example of a standardized protocol which relies on a
replay-prevention counter for part of its message redundancy
(i.e. authentication), but obtains only one bit of redundancy due to
poor design of the replay-prevention mechanism.  Fortunately, the
standard replay-prevention practice in modern protocols would not have
introduced that weakness, and AERO uses the modern standard practice.)

(In other constructions, simply =E2=80=98counting the bits=E2=80=99 may req=
uire some
theoretical justification, and/or may produce the wrong result.  For
example, in Poly1305-AES, verification is equivalent to recovering s
from the MAC, decrypting it, and checking the result for equality to
the nonce; if w nonces are to be accepted when verifying a single
message, that is equivalent to allowing the attacker to try w times as
many forgery attempts; and the security bounds published for
Poly1305-AES turn out to have a term linear in the number of forgery
attempts (denoted D in the paper).  But the other term (probability of
distinguishing AES from a uniform random permutation after C + D
queries) is also a function of D, and is not necessarily linear in D.)


I noticed that there are IPR disclosures for AERO, with rather nasty
terms.  Exactly what parts of AERO are claimed by the patent and
patent application listed there?


Robert Ransom
