os/security/crypto/weakcryptospi/test/tpadding/scripts/tpadSSLv3.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 [CipherAES_CBC]
     2 BlockSize=16
     3 TestCaseName=CipherAES_CBC
     4 
     5 [CipherDES_CBC]
     6 BlockSize=8
     7 TestCaseName=CipherDES_CBC
     8 
     9 [CipherRC2_CBC]
    10 BlockSize=8
    11 TestCaseName=CipherRC2_CBC
    12 
    13 [ContentLength]
    14 Length=61  // from example in TLS1.0 spec. section 6.2.3.2. CBC block cipher
    15 
    16 //Test for BlockSize 0
    17 [Zero_BlockSize]
    18 BlockSize=0
    19 TextSize=16              
    20 TestCaseName=Zero_BlockSize
    21 ExpectedResult=CorruptBlockSize
    22 
    23 //Test for Negative BlockSize
    24 [Negative_BlockSize]
    25 BlockSize=-8
    26 TextSize=16             
    27 TestCaseName=Negative_BlockSize
    28 ExpectedResult=CorruptBlockSize
    29 
    30 //Test for BlockSize lesser than the TextSize
    31 [Block_LessThan_Text]               
    32 BlockSize=16
    33 TextSize=32 
    34 TestCaseName=Block_LessThan_Text
    35 ExpectedResult=CorruptBlockSize      
    36 
    37 //Test for BlockSize lesser than the TextSize in unpadding. Full text unpadding is ok
    38 [Block_LessThan_Text_Unpad]
    39 BlockSize=16
    40 TextSize=32 
    41 TestCaseName=Block_LessThan_Text
    42 ExpectedResult=Valid
    43 
    44 //Test for BlockSize equal to the TextSize
    45 [Block_Equal_Text]                
    46 BlockSize=16
    47 TextSize=16  
    48 TestCaseName=Block_Equal_Text
    49 ExpectedResult=CorruptBlockSize          
    50 
    51 //Test for BlockSize greater than TextSize and TextSize is Zero
    52 [Zero_Text]
    53 BlockSize=16
    54 TextSize=0
    55 TestCaseName=Zero_Text
    56 ExpectedResult=CorruptBlockSize