Subject: [TLS] TLS pad length is necessary?

From: "Zhu, Heqing" <[email-masked]>
Date: Fri, 1 Dec 2006 14:53:07 +0800

Hi,

Can someone help me to clarify whether pad length field is necessary in
TLS 1.1 in case of no padding required ? 

RFC 4346 page 23, paragraph 3:
   The encrypted data length (TLSCiphertext.length) is one more than the
   sum of CipherSpec.block_length, TLSCompressed.length,
   CipherSpec.hash_size, and padding_length.

Regards
Heqing ZHU

Intel Asia-Pacific Research & Development Ltd.
No. 880 Zi Xing Rd., Shanghai Zizhu Science Park,
Shanghai, 200241, PRC
Tel: 86-21-61167369
iNet: 8-821-7369
Fax: 86-21-34293967

_______________________________________________
TLS mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/tls

---

From: Liu Ya <[email-masked]>
Date: Fri, 01 Dec 2006 15:48:36 +0800

Yes, it is necessary. It will hold zero value  in case of no padding
required

> -----Original Message-----
> From: Zhu, Heqing [mailto:[email-masked]] 
> Sent: Friday, December 01, 2006 2:53 PM
> To: [email-masked]
> Subject: [TLS] TLS pad length is necessary?
> 
> Hi,
>