Searched refs:dtls_int_to_uint16 (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.4.0/tinydtls-0.8.2/ |
D | dtls.c | 54 #define dtls_set_version(H,V) dtls_int_to_uint16((H)->version, (V)) 396 dtls_int_to_uint16(buf, DTLS_VERSION); in dtls_set_record_header() 400 dtls_int_to_uint16(buf, security->epoch); in dtls_set_record_header() 437 dtls_int_to_uint16(buf, peer->handshake_params->hs_state.mseq_s); in dtls_set_handshake_header() 1301 dtls_int_to_uint16(A_DATA + 11, res - 8); /* length */ in dtls_prepare_record() 1316 dtls_int_to_uint16(sendbuf + 11, res); in dtls_prepare_record() 1586 dtls_int_to_uint16(p, DTLS_VERSION); in dtls_verify_peer() 1756 dtls_int_to_uint16(p, DTLS_VERSION); in dtls_send_server_hello() 1772 dtls_int_to_uint16(p, handshake->cipher); in dtls_send_server_hello() 1781 dtls_int_to_uint16(p, extension_size - 2); in dtls_send_server_hello() [all …]
|
D | ccm.c | 99 dtls_int_to_uint16(B, la); in add_auth_data() 102 dtls_int_to_uint16(B, 0xFFFE); in add_auth_data() 106 dtls_int_to_uint16(B, 0xFFFF); in add_auth_data() 119 dtls_int_to_uint16(B, la); in add_auth_data()
|
D | numeric.h | 46 static inline int dtls_int_to_uint16(unsigned char *field, uint16_t value) in dtls_int_to_uint16() function
|
D | crypto.c | 271 dtls_int_to_uint16(L, length); in dtls_mac() 326 dtls_int_to_uint16(p, keylen); in dtls_psk_pre_master_secret()
|