diff -r 675a964f4eb5 -r 35751d3474b7 crypto/weakcryptospi/test/tpadding/scripts/tpadSSLv3.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crypto/weakcryptospi/test/tpadding/scripts/tpadSSLv3.ini Thu Sep 10 14:01:51 2009 +0300 @@ -0,0 +1,56 @@ +[CipherAES_CBC] +BlockSize=16 +TestCaseName=CipherAES_CBC + +[CipherDES_CBC] +BlockSize=8 +TestCaseName=CipherDES_CBC + +[CipherRC2_CBC] +BlockSize=8 +TestCaseName=CipherRC2_CBC + +[ContentLength] +Length=61 // from example in TLS1.0 spec. section 6.2.3.2. CBC block cipher + +//Test for BlockSize 0 +[Zero_BlockSize] +BlockSize=0 +TextSize=16 +TestCaseName=Zero_BlockSize +ExpectedResult=CorruptBlockSize + +//Test for Negative BlockSize +[Negative_BlockSize] +BlockSize=-8 +TextSize=16 +TestCaseName=Negative_BlockSize +ExpectedResult=CorruptBlockSize + +//Test for BlockSize lesser than the TextSize +[Block_LessThan_Text] +BlockSize=16 +TextSize=32 +TestCaseName=Block_LessThan_Text +ExpectedResult=CorruptBlockSize + +//Test for BlockSize lesser than the TextSize in unpadding. Full text unpadding is ok +[Block_LessThan_Text_Unpad] +BlockSize=16 +TextSize=32 +TestCaseName=Block_LessThan_Text +ExpectedResult=Valid + +//Test for BlockSize equal to the TextSize +[Block_Equal_Text] +BlockSize=16 +TextSize=16 +TestCaseName=Block_Equal_Text +ExpectedResult=CorruptBlockSize + +//Test for BlockSize greater than TextSize and TextSize is Zero +[Zero_Text] +BlockSize=16 +TextSize=0 +TestCaseName=Zero_Text +ExpectedResult=CorruptBlockSize