Menu

#27 Fix the wrong implementation about the anonymous cipher suite of tinydtls

1.0
open
None
2015-06-05
2015-06-05
Chul Lee
No

Fix the wrong implementation about the anonymous cipher suite of tinydtls.
(NOTE : This patch has been modified based on RFC 5246)

  1. IV for CBC block operation : Apply the random IV for CBC block operations according to section 6.2.3.2 of RFC 5246.

  2. MAC calculation : Apply HMAC for DTLS MAC calculation according to section 6.2.3.1 of RFC 5246.

  3. CBC padding : Apply PKCS#5 padding for CBC block cipher accroding to section 6.2.3.2 of RFC 5246.

  4. Change the cipher suite name TLS_ECDH_anon_WITH_AES_128_CBC_SHA to TLS_ECDH_anon_WITH_AES_128_CBC_SHA_256.

1 Attachments

Discussion

Monday.com Logo