equal
deleted
inserted
replaced
628 buf2.Zero(); |
628 buf2.Zero(); |
629 buf3.Zero(); |
629 buf3.Zero(); |
630 CleanupStack::PopAndDestroy(result); |
630 CleanupStack::PopAndDestroy(result); |
631 } |
631 } |
632 |
632 |
|
633 void UT_SRTPAuthentication_HMAC_SHA1::UT_AuthenticateL_Test_KeyChangedL( ) |
|
634 { |
|
635 UT_AuthenticateL_RFC2202_Test1_80L(); |
|
636 UT_AuthenticateL_RFC2202_Test1_32L(); |
|
637 } |
|
638 |
633 void UT_SRTPAuthentication_HMAC_SHA1::Hex(HBufC8& aString) |
639 void UT_SRTPAuthentication_HMAC_SHA1::Hex(HBufC8& aString) |
634 { |
640 { |
635 TPtr8 ptr=aString.Des(); |
641 TPtr8 ptr=aString.Des(); |
636 if (aString.Length()%2) |
642 if (aString.Length()%2) |
637 { |
643 { |
760 "SRTPAuthentication_HMAC_SHA1", |
766 "SRTPAuthentication_HMAC_SHA1", |
761 "AuthenticateL with Real Packet", |
767 "AuthenticateL with Real Packet", |
762 "FUNCTIONALITY", |
768 "FUNCTIONALITY", |
763 SetupL, UT_AuthenticateL_Test8_32L, Teardown) |
769 SetupL, UT_AuthenticateL_Test8_32L, Teardown) |
764 |
770 |
765 |
771 EUNIT_TEST( |
|
772 "AuthenticateL - KeyChanged", |
|
773 "SRTPAuthentication_HMAC_SHA1", |
|
774 "AuthenticateL", |
|
775 "FUNCTIONALITY", |
|
776 SetupL, UT_AuthenticateL_Test_KeyChangedL, Teardown) |
|
777 |
766 EUNIT_END_TEST_TABLE |
778 EUNIT_END_TEST_TABLE |
767 |
779 |
768 // END OF FILE |
780 // END OF FILE |