Lines Matching refs:msg
2474 mbedtls_ssl_flight_item *msg; in ssl_flight_append() local
2477 if( ( msg = mbedtls_calloc( 1, sizeof( mbedtls_ssl_flight_item ) ) ) == NULL ) in ssl_flight_append()
2484 if( ( msg->p = mbedtls_calloc( 1, ssl->out_msglen ) ) == NULL ) in ssl_flight_append()
2487 mbedtls_free( msg ); in ssl_flight_append()
2492 memcpy( msg->p, ssl->out_msg, ssl->out_msglen ); in ssl_flight_append()
2493 msg->len = ssl->out_msglen; in ssl_flight_append()
2494 msg->type = ssl->out_msgtype; in ssl_flight_append()
2495 msg->next = NULL; in ssl_flight_append()
2499 ssl->handshake->flight = msg; in ssl_flight_append()
2505 cur->next = msg; in ssl_flight_append()
2927 unsigned char *msg, *bitmask; in ssl_reassemble_dtls_handshake() local
2980 msg = ssl->handshake->hs_msg + 12; in ssl_reassemble_dtls_handshake()
2981 bitmask = msg + msg_len; in ssl_reassemble_dtls_handshake()
3010 memcpy( msg + frag_off, ssl->in_msg + 12, frag_len ); in ssl_reassemble_dtls_handshake()