[Sip] questions regarding AKAv2 implementation

Ranjith.V@aricent.com Tue, 08 January 2008 10:06 UTC

Return-path: <sip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JCBLY-0002KK-BQ; Tue, 08 Jan 2008 05:06:12 -0500
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1JCBLV-0002KB-Ok for sip-confirm+ok@megatron.ietf.org; Tue, 08 Jan 2008 05:06:09 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JCBLU-0002K1-Mi for sip@ietf.org; Tue, 08 Jan 2008 05:06:08 -0500
Received: from tapal.aricent.com ([59.165.248.2]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JCBLR-0004EZ-Uq for sip@ietf.org; Tue, 08 Jan 2008 05:06:08 -0500
Received: from tapal.aricent.com (localhost [127.0.0.1]) by tapal.aricent.com (8.13.8/8.13.8) with ESMTP id m08A5BJX017207 for <sip@ietf.org>; Tue, 8 Jan 2008 15:35:11 +0530
Received: from pragati.bgh.aricent.com (pragati.bgh.aricent.com [10.203.193.22])by tapal.aricent.com (8.13.8/8.13.8) with ESMTP id m08A5BGF017198for <sip@ietf.org>; Tue, 8 Jan 2008 15:35:11 +0530
To: sip@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 6.5.5 November 30, 2005
Message-ID: <OF617041EB.4DE1A953-ON652573CA.003719AC-652573CA.0037BCC4@aricent.com>
From: Ranjith.V@aricent.com
Date: Tue, 8 Jan 2008 15:33:00 +0530
X-MIMETrack: Serialize by Router on Pragati/BLR/HSS(Release 6.5.5|November 30, 2005) at01/08/2008 03:32:46 PM,Serialize complete at 01/08/2008 03:32:46 PM
X-imss-version: 2.049
X-imss-result: Passed
X-imss-scanInfo: M:B L:N SM:2
X-imss-tmaseResult: TT:1 TS:-11.8939 TC:1F TRN:52 TV:5.0.1023(15654.002)
X-imss-scores: Clean:100.00000 C:0 M:0 S:0 R:0
X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.0000 0.0000)
X-Spam-Score: 2.8 (++)
X-Scan-Signature: 8de5f93cb2b4e3bee75302e9eacc33db
Subject: [Sip] questions regarding AKAv2 implementation
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0556770380=="
Errors-To: sip-bounces@ietf.org

Hi All,
        We have a question regarding the PRF function in AKAv2(IETF RFC 
4169). section 2.1 of the RFC 4169 states the following..

2.1. Password Generation

The client shall use base64 encoded [1] parameters PRF(RES||IK||CK,
"http-digest-akav2-password") as a "password" when calculating the
HTTP Digest response directive for AKAv2.

if the algorithm is AKAv2-MD5, then the PRF is HMAC_MD5.

RFC 2104 defines the HMAC_MD5 to be the following

/*
** Function: hmac_md5
*/
void
hmac_md5(text, text_len, key, key_len, digest)
unsigned char* text; /* pointer to data stream */
int text_len; /* length of data stream */
unsigned char* key; /* pointer to authentication key */
int key_len; /* length of authentication key */
caddr_t digest; /* caller digest to be filled in */

Our query
=========
hmac_md5() function takes text , key as inputs. As we understand key 
corresponds to RES||IK||CK and text corresponds to 
"http-digest-akav2-password"...we would like to know whether our 
understanding is correct.

Raju
 
 

***********************  Aricent-Restricted   ***********************
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of 
the individual to whom it is addressed. It may contain privileged or confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this email including damage from virus."
_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip