|
1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Provides class for authentication with NULL algorithm. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #include "srtpauthentication_null.h" |
|
22 #include "srtpaesctrcrypto.h" |
|
23 #include "hash.h" |
|
24 #include "srtpdef.h" |
|
25 |
|
26 |
|
27 // --------------------------------------------------------------------------- |
|
28 // CSRTPAuthentication_NULL::NewL |
|
29 // --------------------------------------------------------------------------- |
|
30 // |
|
31 CSRTPAuthentication_NULL* CSRTPAuthentication_NULL::NewL() |
|
32 { |
|
33 CSRTPAuthentication_NULL* self = new( ELeave ) CSRTPAuthentication_NULL(); |
|
34 return self; |
|
35 } |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // SRTPAuthentication_NULL::AuthenticateL |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 HBufC8* CSRTPAuthentication_NULL::AuthenticateL(TUint /*aBitLength*/, |
|
43 const TDesC8& /*aKey*/, |
|
44 const TDesC8& /*aM*/, |
|
45 const TDesC8& /*aRoc*/) |
|
46 { |
|
47 return NULL; |
|
48 } |
|
49 |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // CSRTPAuthentication_NULL::~CSRTPAuthentication_NULL |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 CSRTPAuthentication_NULL::~CSRTPAuthentication_NULL() |
|
56 { |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // CSRTPAuthentication_NULL::CSRTPAuthentication_NULL |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 CSRTPAuthentication_NULL::CSRTPAuthentication_NULL() |
|
64 { |
|
65 |
|
66 } |
|
67 |