Searched refs:uint16 (Results 1 – 4 of 4) sorted by relevance
/net-tools-2.7.6/tinydtls-0.8.2/ |
D | dtls.h | 333 uint16 version; /**< Protocol version */ 334 uint16 epoch; /**< counter for cipher state changes */ 336 uint16 length; /**< length of the following fragment */ 358 uint16 message_seq; /**< Message sequence number */ 366 uint16 version; /**< Client version */ 377 uint16 version; /**< Server version */
|
D | dtls.c | 397 buf += sizeof(uint16); in dtls_set_record_header() 401 buf += sizeof(uint16); in dtls_set_record_header() 409 memset(buf, 0, sizeof(uint16) + sizeof(uint48)); in dtls_set_record_header() 410 buf += sizeof(uint16) + sizeof(uint48); in dtls_set_record_header() 413 memset(buf, 0, sizeof(uint16)); in dtls_set_record_header() 414 return buf + sizeof(uint16); in dtls_set_record_header() 442 memset(buf, 0, sizeof(uint16)); in dtls_set_handshake_header() 444 buf += sizeof(uint16); in dtls_set_handshake_header() 706 data += sizeof(uint16); in verify_ext_eliptic_curves() 707 if (i + sizeof(uint16) != data_length) { in verify_ext_eliptic_curves() [all …]
|
D | crypto.c | 270 uint16 L; in dtls_mac() 274 dtls_hmac_update(hmac_ctx, record +3, sizeof(uint16) + sizeof(uint48)); in dtls_mac() 275 dtls_hmac_update(hmac_ctx, record, sizeof(uint8) + sizeof(uint16)); in dtls_mac() 276 dtls_hmac_update(hmac_ctx, L, sizeof(uint16)); in dtls_mac() 322 if (result_len < (2 * (sizeof(uint16) + keylen))) { in dtls_psk_pre_master_secret() 327 p += sizeof(uint16); in dtls_psk_pre_master_secret() 332 memcpy(p, result, sizeof(uint16)); in dtls_psk_pre_master_secret() 333 p += sizeof(uint16); in dtls_psk_pre_master_secret() 337 return 2 * (sizeof(uint16) + keylen); in dtls_psk_pre_master_secret()
|
D | global.h | 48 typedef unsigned char uint16[2]; typedef
|