diff -r 000000000000 -r 2c201484c85f crypto/weakcrypto/test/tpadding/scripts/tpadSSLv3.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crypto/weakcrypto/test/tpadding/scripts/tpadSSLv3.ini Wed Jul 08 11:25:26 2009 +0100 @@ -0,0 +1,49 @@ +[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 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