diff -r 675a964f4eb5 -r 35751d3474b7 crypto/weakcryptospi/test/tpadding/scripts/tpaddingudeb.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crypto/weakcryptospi/test/tpadding/scripts/tpaddingudeb.script Thu Sep 10 14:01:51 2009 +0300 @@ -0,0 +1,52 @@ +// +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// +// +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// +// +PRINT Run all tpadding tests +// +LOAD_SUITE tpaddingserver +// + +//! @SYMTestCaseID SEC-CRYPTOSPI-PADDING-0006 +//! @SYMTestCaseDesc Checks the unpadding for PKCS7 by giving different blocksize, textsize +// and valid and invalid padding byte. +//! (UnpadCorruptPKCS7) +//! @SYMDEF DEF079604 +//! @SYMTestPriority Low +//! @SYMTestStatus Implemented +//! @SYMTestActions ASSERT ECryptoPanicOutputDescriptorOverflow if given wrong padding byte. +//! @SYMTestExpectedResults The unpadding of data for PKCS7 should be proper. +//! @SYMDevelopedForRelease Argus + +START_TESTCASE SEC-CRYPTOSPI-PADDING-0006 + +RUN_PANIC_STEP_RESULT 1 CRYPTO-LIB 100 tpaddingserver UnpadCorruptPKCS7 c:\tpadding\tpadpkcs7.ini InValid_PaddingByte1 + +END_TESTCASE SEC-CRYPTOSPI-PADDING-0006 \ No newline at end of file