@@ -133,6 +133,10 @@ static const struct KnownAEAD kAEADs[] = {
133
133
" aes_128_cbc_sha256_tls_implicit_iv_tests.txt" ,
134
134
kLimitedImplementation | RequiresADLength (11 )},
135
135
136
+ {" AES_256_CBC_SHA384_TLS" , EVP_aead_aes_256_cbc_sha384_tls,
137
+ " aes_256_cbc_sha384_tls_tests.txt" ,
138
+ kLimitedImplementation | RequiresADLength (11 )},
139
+
136
140
{" AES_256_CBC_SHA1_TLS" , EVP_aead_aes_256_cbc_sha1_tls,
137
141
" aes_256_cbc_sha1_tls_tests.txt" ,
138
142
kLimitedImplementation | RequiresADLength (11 )},
@@ -1372,13 +1376,15 @@ struct EvpAeadCtxSerdeTestParams {
1372
1376
class EvpAeadCtxSerdeTest
1373
1377
: public testing::TestWithParam<EvpAeadCtxSerdeTestParams> {};
1374
1378
1375
- static const uint8_t kEvpAeadCtxKey [68 ] = {
1376
- 0x49 , 0xd4 , 0x9f , 0x84 , 0x62 , 0xf1 , 0xda , 0x3a , 0xe1 , 0x60 , 0x08 , 0xf3 ,
1377
- 0xcf , 0xf6 , 0x01 , 0x2d , 0x95 , 0x90 , 0x08 , 0xfe , 0xad , 0x89 , 0x31 , 0x21 ,
1378
- 0x1c , 0x84 , 0xf0 , 0x77 , 0x57 , 0x18 , 0x94 , 0x03 , 0xe3 , 0x85 , 0x30 , 0x32 ,
1379
- 0xc3 , 0x0f , 0xae , 0x54 , 0x54 , 0x8d , 0x21 , 0x55 , 0x68 , 0xc9 , 0x6f , 0xb9 ,
1380
- 0x23 , 0x4e , 0xbc , 0xba , 0x1a , 0x4c , 0x9a , 0xd8 , 0x35 , 0x96 , 0xc2 , 0xb3 ,
1381
- 0x6e , 0x7a , 0x47 , 0xa8 , 0x8e , 0xdd , 0x6e , 0x1d };
1379
+ static const uint8_t kEvpAeadCtxKey [80 ] = {
1380
+ 0x03 , 0xeb , 0x1d , 0xb2 , 0x2c , 0xa8 , 0xc0 , 0x3b , 0x29 , 0x9c , 0x66 , 0xe5 ,
1381
+ 0xdd , 0xb7 , 0x70 , 0x6c , 0x39 , 0x86 , 0x71 , 0x94 , 0x79 , 0x5c , 0xf5 , 0x88 ,
1382
+ 0xde , 0xd9 , 0x05 , 0x1f , 0x28 , 0x96 , 0x86 , 0x28 , 0x01 , 0xb0 , 0x59 , 0x11 ,
1383
+ 0xb0 , 0x3f , 0x35 , 0xe6 , 0xb5 , 0x2f , 0x3b , 0xee , 0xbc , 0xf9 , 0x11 , 0xb1 ,
1384
+ 0x9e , 0x58 , 0xf6 , 0xb7 , 0xf3 , 0x3e , 0x5b , 0x66 , 0x28 , 0x85 , 0x0c , 0x66 ,
1385
+ 0x2b , 0x75 , 0xb7 , 0x86 , 0xfd , 0xa4 , 0x2d , 0x4b , 0x8c , 0xe0 , 0x9a , 0x58 ,
1386
+ 0xbf , 0xc6 , 0x22 , 0x4c , 0x39 , 0x25 , 0x66 , 0xfd
1387
+ };
1382
1388
1383
1389
static const EvpAeadCtxSerdeTestParams kEvpAeadCtxSerde [] = {
1384
1390
{" EVP_aead_aes_128_gcm" , EVP_aead_aes_128_gcm (), kEvpAeadCtxKey , 16 , 16 ,
@@ -1421,6 +1427,8 @@ static const EvpAeadCtxSerdeTestParams kEvpAeadCtxSerde[] = {
1421
1427
kEvpAeadCtxKey , 48 , 32 , 11 },
1422
1428
{" EVP_aead_aes_128_cbc_sha256_tls_implicit_iv" ,
1423
1429
EVP_aead_aes_128_cbc_sha256_tls_implicit_iv (), kEvpAeadCtxKey , 64 , 32 , 12 },
1430
+ {" EVP_aead_aes_256_cbc_sha384_tls" , EVP_aead_aes_256_cbc_sha384_tls (),
1431
+ kEvpAeadCtxKey , 80 , 48 , 28 },
1424
1432
{" EVP_aead_des_ede3_cbc_sha1_tls" , EVP_aead_des_ede3_cbc_sha1_tls (),
1425
1433
kEvpAeadCtxKey , 44 , 20 , 13 },
1426
1434
{" EVP_aead_des_ede3_cbc_sha1_tls_implicit_iv" ,
0 commit comments