[AVTCORE] Comments on the draft-ietf-avtcore-srtp-aes-gcm-06

Woo-Hwan Kim <whkim5@ensec.re.kr> Thu, 27 June 2013 05:22 UTC

Return-Path: <woohwankim@gmail.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6E0421F9BFC for <avt@ietfa.amsl.com>; Wed, 26 Jun 2013 22:22:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 lpCUkxOZL64a for <avt@ietfa.amsl.com>; Wed, 26 Jun 2013 22:22:40 -0700 (PDT)
Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by ietfa.amsl.com (Postfix) with ESMTP id CBB2D21F9A19 for <avt@ietf.org>; Wed, 26 Jun 2013 22:22:39 -0700 (PDT)
Received: by mail-wg0-f44.google.com with SMTP id m15so195515wgh.23 for <avt@ietf.org>; Wed, 26 Jun 2013 22:22:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=SVa9v3sQ46pWVW6qCPuTIvC0XKJ7fKbPK+wgFVUWBnQ=; b=ItyFK81xM4m9ZXjx7NEjgOAH98LuGuxKQf4+UnKZE19hRUnCiSKtleumdJp0MX6RzT 3jke9/546IEL4pVmSVbZahzNQUA4a3Z4cUfecZYlywhdd09BsCD5QOxJSfG/ya/iOu/L cPVVvGurgPbXsFpM4HhuWVo4v+YWTxSj64M/QDG/SBFTov5a3ElRm1V01GA//dNAik60 S1skc6ODuoVLty7CtXM6ptZE3aF0ve1IsD82fmQBPaWTHrkZ9pLakkLbLWt7x6tSQbtc /zR0hGD6xCG7bIfGnqXnX9ZN+QjuvCjcpu978XPQNPk9S2Pn71lBm6uocyTj4l92GzEA ROJw==
MIME-Version: 1.0
X-Received: by 10.194.123.69 with SMTP id ly5mr5026377wjb.29.1372310558875; Wed, 26 Jun 2013 22:22:38 -0700 (PDT)
Sender: woohwankim@gmail.com
Received: by 10.216.161.133 with HTTP; Wed, 26 Jun 2013 22:22:38 -0700 (PDT)
Date: Thu, 27 Jun 2013 14:22:38 +0900
X-Google-Sender-Auth: 9xfSgrQbINw538O8D30CRvQjhpk
Message-ID: <CAMRi9Ccc9qFYok8tAooPfPWMBxqBuhgnPaAv18bZ9ieaBezrkw@mail.gmail.com>
From: Woo-Hwan Kim <whkim5@ensec.re.kr>
To: avt@ietf.org, draft-ietf-avtcore-srtp-aes-gcm@tools.ietf.org
Content-Type: multipart/alternative; boundary="089e01175f836226cd04e01bf31f"
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Daesung Kwon <ds_kwon@ensec.re.kr>, Je Hong Park <jhpark@ensec.re.kr>
Subject: [AVTCORE] Comments on the draft-ietf-avtcore-srtp-aes-gcm-06
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jun 2013 05:22:41 -0000

Hi.

Here are some comments on the draft-ietf-avtcore-srtp-aes-gcm-06.

1. In section 5.2, Tag_Size_Flag is used for CCM mode input and it is
written that the tag size for GCM mode is determined by the algorithm
choice.
There is no difference between CCM and GCM from the point of view that the
ciphersuite can determine the tag length.
CCM needs tag length in the input formatting function while GCM does not.
But I think it does not imply that the inputs of GCM and CCM differ and it
is better to be consistent.

2. AES-CCM ciphersuites is defined for each tag length except but Section
14.1.
I think it is better to add the following ciphersuites in Section 14.1 as
well as other parts of the draft.
- AEAD_AES_128_CCM_8
- AEAD_AES_256_CCM_8
- AEAD_AES_128_CCM_12
- AEAD_AES_256_CCM_12



3. Section 6, Section 11.1
 (2^24)-16 octets => (2^28)-16 octets

Regards, Woo-Hwan Kim