Lines Matching refs:msg
2037 mbedtls_ssl_flight_item *msg; in ssl_flight_append() local
2043 if( ( msg = mbedtls_calloc( 1, sizeof( mbedtls_ssl_flight_item ) ) ) == NULL ) in ssl_flight_append()
2050 if( ( msg->p = mbedtls_calloc( 1, ssl->out_msglen ) ) == NULL ) in ssl_flight_append()
2054 mbedtls_free( msg ); in ssl_flight_append()
2059 memcpy( msg->p, ssl->out_msg, ssl->out_msglen ); in ssl_flight_append()
2060 msg->len = ssl->out_msglen; in ssl_flight_append()
2061 msg->type = ssl->out_msgtype; in ssl_flight_append()
2062 msg->next = NULL; in ssl_flight_append()
2066 ssl->handshake->flight = msg; in ssl_flight_append()
2072 cur->next = msg; in ssl_flight_append()
4097 unsigned char * const msg = hs_buf->data + 12; in ssl_buffer_message() local
4111 memcpy( msg + frag_off, ssl->in_msg + 12, frag_len ); in ssl_buffer_message()
4115 unsigned char * const bitmask = msg + msg_len; in ssl_buffer_message()