@@ -65,7 +65,6 @@ let aes_tsuite = {
65
65
{ name : "AES-GCM" , data : "aabbcc" , tagLength : 96 } ,
66
66
{ name : "AES-GCM" , data : "aabbcc" , tagLength : 112 } ,
67
67
{ name : "AES-GCM" , data : "aabbcc" , tagLength : 113 , exception : "TypeError: AES-GCM Invalid tagLength" } ,
68
- { name : "AES-GCM" , data : "aabbcc" , key : "aabbcc" , exception : "TypeError: Invalid key length" } ,
69
68
{ name : "AES-GCM" , data : "aabbcc" , key : "001122330011223300112233001122330011223300112233" } ,
70
69
{ name : "AES-GCM" , data : "aabbccdd" . repeat ( 4096 ) } ,
71
70
@@ -88,14 +87,12 @@ let aes_tsuite = {
88
87
{ name : "AES-CTR" , data : "aabbcc" , key : "001122330011223300112233001122330011223300112233" } ,
89
88
{ name : "AES-CTR" , data : "aabbccdd" , length : 129 ,
90
89
exception : "TypeError: AES-CTR algorithm.length must be between 1 and 128" } ,
91
- { name : "AES-CTR" , data : "aabbcc" , key : "aabbcc" , exception : "TypeError: Invalid key length" } ,
92
90
93
91
{ name : "AES-CBC" , data : "aa" } ,
94
92
{ name : "AES-CBC" , data : "aabbccdd" . repeat ( 4 ) } ,
95
93
{ name : "AES-CBC" , data : "aabbccdd" . repeat ( 4096 ) } ,
96
94
{ name : "AES-CBC" , data : "aabbccdd" . repeat ( 5 ) , iv : "ffffffffffffffffffffffffffffffff" } ,
97
95
{ name : "AES-CBC" , data : "aabbcc" , key : "001122330011223300112233001122330011223300112233" } ,
98
- { name : "AES-CBC" , data : "aabbcc" , key : "aabbcc" , exception : "TypeError: Invalid key length" } ,
99
96
] } ;
100
97
101
98
run ( [ aes_tsuite ] )
0 commit comments