RE: [AVT] The Secure Real-time Transport Protocol : Padding/Bandw idth.

Euchner Martin <martin.euchner@siemens.com> Tue, 24 June 2003 16:43 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA23104 for <avt-archive@odin.ietf.org>; Tue, 24 Jun 2003 12:43:29 -0400 (EDT)
Received: (from exim@localhost) by www1.ietf.org (8.11.6/8.11.6) id h5OGh2i10022 for avt-archive@odin.ietf.org; Tue, 24 Jun 2003 12:43:02 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19Uqsn-0002ah-6s; Tue, 24 Jun 2003 12:43:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19Uqrk-0002Zy-R1 for avt@optimus.ietf.org; Tue, 24 Jun 2003 12:42:11 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA23048 for <avt@ietf.org>; Tue, 24 Jun 2003 12:41:53 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19UqqZ-0004Al-00 for avt@ietf.org; Tue, 24 Jun 2003 12:40:44 -0400
Received: from gorilla.mchh.siemens.de ([194.138.158.18]) by ietf-mx with esmtp (Exim 4.12) id 19UqqO-0004Ad-00 for avt@ietf.org; Tue, 24 Jun 2003 12:40:32 -0400
Received: from blues.mchh.siemens.de ([139.21.204.206]) by gorilla.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id SAA21523; Tue, 24 Jun 2003 18:40:10 +0200 (MET DST)
Received: from mchh246e.demchh201e.icn.siemens.de (mchh246e.mchh.siemens.de [139.21.200.56]) by blues.mchh.siemens.de (8.9.3/8.9.1) with ESMTP id SAA13417; Tue, 24 Jun 2003 18:39:08 +0200 (MET DST)
Received: by mchh246e.mchh.siemens.de with Internet Mail Service (5.5.2656.59) id <NCZN57LP>; Tue, 24 Jun 2003 18:39:40 +0200
Message-ID: <99522F0FD7EFD611A47D0002A58EDAB701620EBA@mchh2a8e.mchh.siemens.de>
From: Euchner Martin <martin.euchner@siemens.com>
To: "'norbert.rossello@mindspeed.com'" <norbert.rossello@mindspeed.com>, mbaugher@cisco.com, rolf.blom@era.ericsson.se, elisabetta.carrara@era.ericsson.se, mcgrew@cisco.com, mats.naslund@era.ericsson.se, karl.norrman@era.ericsson.se, oran@cisco.com, avt@ietf.org, Euchner Martin <martin.euchner@siemens.com>
Subject: RE: [AVT] The Secure Real-time Transport Protocol : Padding/Bandw idth.
Date: Tue, 24 Jun 2003 18:39:38 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: text/plain; charset="ISO-8859-1"
Sender: avt-admin@ietf.org
Errors-To: avt-admin@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>

Dear all,

I'm very confused by this entire SRTP padding discussion.

My understanding of SRTP is that the document describes a stream-cipher using AES in counter and/or F8 mode. As such, SRTP in this byte-stream mode does not need any padding of the payload, as stream-ciphers do not pad typically. (Note: One can use SRTP with AES with the 40 byte G.711/G.729 payload without any message expansion).

Since the SRTP draft ID provides the possibility of using other crypto mechanisms as an extension, padding might be an issue. Since we have not seen any such extension so far, we can't tell, if padding would be an issue nor how padding should be done for any potential future SRTP encryption mechanism.

My recommendation thus, is that SRTP padding issue be deferred to the future and be solved when there is a need for it. For now it should be sufficient to state, that padding issues should be addressed by the extension documents.



With kind regards


Martin Euchner.
-----------------------------------------------------------------------
| Dipl.-Inf.                     Rapporteur Q.G/SG16
| Martin Euchner                 Phone: +49 89 722 55790
| Siemens AG.....................Fax  : +49 89 722 62366
| ICN M SR 3                     mailto:Martin.Euchner@siemens.com
|                                mailto:martin.euchner@ties.itu.int
| Hofmannstr. 51                 Intranet: http://ietf.icn.siemens.de/sr3/Standardisation_Topics/security/
| D-81359 Muenchen               Internet: http://www.siemens.de/
| __________________
| Germany     
-----------------------------------------------------------------------

 -----Original Message-----
From: 	norbert.rossello@mindspeed.com [mailto:norbert.rossello@mindspeed.com] 
Sent:	Tuesday, June 24, 2003 6:08 PM
To:	mbaugher@cisco.com; rolf.blom@era.ericsson.se; elisabetta.carrara@era.ericsson.se; mcgrew@cisco.com; mats.naslund@era.ericsson.se; karl.norrman@era.ericsson.se; oran@cisco.com; avt@ietf.org
Subject:	[AVT] The Secure Real-time Transport Protocol : Padding/Bandwidth.


Madam and Sirs,

I am responsible for Cipher/VoIP implementation at Mindspeed (ex Conexant).

I would like to draw your attention about padding:
draft-ietf-avt-srtp-05.txt - 4.1.1 :
<<Each of the three terms in the XOR-sum above is padded with as many
leading zeros as needed to make the operation well-defined..>>

By implementing block cipher (as AES), as you experts know already,
we have been facing the padding method consequence (RFC1423, NIST,..)
leading to increase bandwidth.

Example:
G.711 at 5ms generates a payload of 40 bytes.
AES blocks are made of 128 bits = 16 bytes.
40 / 16 = 2.5: AES will require 3 blocks increasing the encrypted payload
up to 16 x 3 =48 bytes.
Hence, AES encryption has impacted the original bandwidth consumption by
+20%.
This drawback applies to others codec G.729,...which have been designed to
save bandwidth.
This bandwidth increase is not acceptable for many Gtw manufacturers.

Mindspeed would like to submit to you a new scheme that allows encrypting
packets which size is not a multiple of AES block size without impacting
bandwidth
complying with existing modes ECB, CBC,...

Please, let me know if this new scheme could contribute to SRTP,
so I will send you related documents.

Dr Norbert Rossello.
Group Leader MindSpeed Cipher Development
norbert.rossello@mindspeed.com

Mindspeed Technologies
BP 161
06903 Sophia Antipolis Cedex - France
www.mindspeed.com




_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt

_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt