Searched refs:uint8 (Results 1 – 10 of 10) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/ |
D | dtls.c | 182 unsigned char type, uint8 *buf_array[], 201 uint8 *buf, size_t buflen) { in dtls_send() 237 session_t *dst, uint8 *buf, size_t len) { in dtls_write() 261 dtls_get_cookie(uint8 *msg, size_t msglen, uint8 **cookie) { in dtls_get_cookie() 264 if (msglen < DTLS_HS_LENGTH + DTLS_CH_LENGTH + sizeof(uint8)) in dtls_get_cookie() 273 SKIP_VAR_FIELD(msg, msglen, uint8); /* skip session id */ in dtls_get_cookie() 275 if (msglen < (*msg & 0xff) + sizeof(uint8)) in dtls_get_cookie() 278 *cookie = msg + sizeof(uint8); in dtls_get_cookie() 288 uint8 *msg, size_t msglen, in dtls_create_cookie() 289 uint8 *cookie, int *clen) { in dtls_create_cookie() [all …]
|
D | dtls.h | 100 session_t *session, uint8 *buf, size_t len); 115 session_t *session, uint8 *buf, size_t len); 310 uint8 *buf, size_t len); 332 uint8 content_type; /**< content type of the included message */ 356 uint8 msg_type; /**< Type of handshake message (one of DTLS_HT_) */ 378 uint8 cookie_length; /**< Length of the included cookie */ 379 uint8 cookie[]; /**< up to 32 bytes making up the cookie */ 391 int dtls_record_read(dtls_state_t *state, uint8 *msg, int msglen); 404 uint8 *msg, int msglen);
|
D | crypto.h | 80 uint8 own_eph_priv[32]; 81 uint8 other_eph_pub_x[32]; 82 uint8 other_eph_pub_y[32]; 83 uint8 other_pub_x[32]; 84 uint8 other_pub_y[32]; 112 uint8 key_block[MAX_KEYBLOCK_LENGTH]; 118 uint8 client[DTLS_RANDOM_LENGTH]; /**< client random gmt and bytes */ 119 uint8 server[DTLS_RANDOM_LENGTH]; /**< server random gmt and bytes */ 122 uint8 master_secret[DTLS_MASTER_SECRET_LENGTH];
|
D | global.h | 47 typedef unsigned char uint8; typedef
|
D | crypto.c | 275 dtls_hmac_update(hmac_ctx, record, sizeof(uint8) + sizeof(uint16)); in dtls_mac()
|
/net-tools-latest/tinydtls-0.8.2/examples/contiki/ |
D | dtls-client.c | 92 res = dtls_write(ctx, dst, (uint8 *)buf, buflen); in try_send() 101 session_t *session, uint8 *data, size_t len) { in read_from_peer() 110 session_t *session, uint8 *data, size_t len) { in send_to_peer()
|
D | dtls-server.c | 83 session_t *session, uint8 *data, size_t len) { in read_from_peer() 95 session_t *session, uint8 *data, size_t len) { in send_to_peer()
|
/net-tools-latest/tinydtls-0.8.2/tests/ |
D | dtls-client.c | 172 res = dtls_write(ctx, dst, (uint8 *)buf, len); in try_send() 187 session_t *session, uint8 *data, size_t len) { in read_from_peer() 196 session_t *session, uint8 *data, size_t len) { in send_to_peer() 208 static uint8 buf[MAX_READ_BUF]; in dtls_handle_read()
|
D | dtls-server.c | 128 session_t *session, uint8 *data, size_t len) { in read_from_peer() 149 session_t *session, uint8 *data, size_t len) { in send_to_peer() 160 static uint8 buf[DTLS_MAX_BUF]; in dtls_handle_read()
|
/net-tools-latest/ |
D | coap-client.c | 377 uint8 buf[MAX_READ_BUF]; 938 uint8 *read_data, size_t read_len) in read_from_peer() 991 uint8 *data, size_t len) in send_to_peer()
|