X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=extlibs%2Ftinydtls%2Fglobal.h;h=441710f16185e08d4956947212e011d190df8cf7;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=f0977c848e8738369accdf93199a48c6659d1089;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/extlibs/tinydtls/global.h b/extlibs/tinydtls/global.h index f0977c8..441710f 100644 --- a/extlibs/tinydtls/global.h +++ b/extlibs/tinydtls/global.h @@ -73,10 +73,16 @@ typedef unsigned char uint48[6]; /** Known cipher suites.*/ typedef enum { TLS_NULL_WITH_NULL_NULL = 0x0000, /**< NULL cipher */ + TLS_ECDH_anon_WITH_AES_128_CBC_SHA = 0xC018, /**< see RFC 4492 */ TLS_PSK_WITH_AES_128_CCM_8 = 0xC0A8, /**< see RFC 6655 */ TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 = 0xC0AE /**< see RFC 7251 */ } dtls_cipher_t; +typedef enum { + DTLS_CIPHER_DISABLE = 0, + DTLS_CIPHER_ENABLE = 1 +} dtls_cipher_enable_t; + /** Known compression suites.*/ typedef enum { TLS_COMPRESSION_NULL = 0x0000 /* NULL compression */