1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcrypto/test/tpadding/scripts/tpadSSLv3.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,49 @@
1.4 +[CipherAES_CBC]
1.5 +BlockSize=16
1.6 +TestCaseName=CipherAES_CBC
1.7 +
1.8 +[CipherDES_CBC]
1.9 +BlockSize=8
1.10 +TestCaseName=CipherDES_CBC
1.11 +
1.12 +[CipherRC2_CBC]
1.13 +BlockSize=8
1.14 +TestCaseName=CipherRC2_CBC
1.15 +
1.16 +[ContentLength]
1.17 +Length=61 // from example in TLS1.0 spec. section 6.2.3.2. CBC block cipher
1.18 +
1.19 +//Test for BlockSize 0
1.20 +[Zero_BlockSize]
1.21 +BlockSize=0
1.22 +TextSize=16
1.23 +TestCaseName=Zero_BlockSize
1.24 +ExpectedResult=CorruptBlockSize
1.25 +
1.26 +//Test for Negative BlockSize
1.27 +[Negative_BlockSize]
1.28 +BlockSize=-8
1.29 +TextSize=16
1.30 +TestCaseName=Negative_BlockSize
1.31 +ExpectedResult=CorruptBlockSize
1.32 +
1.33 +//Test for BlockSize lesser than the TextSize
1.34 +[Block_LessThan_Text]
1.35 +BlockSize=16
1.36 +TextSize=32
1.37 +TestCaseName=Block_LessThan_Text
1.38 +ExpectedResult=CorruptBlockSize
1.39 +
1.40 +//Test for BlockSize equal to the TextSize
1.41 +[Block_Equal_Text]
1.42 +BlockSize=16
1.43 +TextSize=16
1.44 +TestCaseName=Block_Equal_Text
1.45 +ExpectedResult=CorruptBlockSize
1.46 +
1.47 +//Test for BlockSize greater than TextSize and TextSize is Zero
1.48 +[Zero_Text]
1.49 +BlockSize=16
1.50 +TextSize=0
1.51 +TestCaseName=Zero_Text
1.52 +ExpectedResult=CorruptBlockSize