reduce the need for multiple buffer structs
In the parsing and generation of TLS1.3 handshake messages, we utilize the gnutls_buffer_st
structure. However to send these messages we have to fit them in an mbuffers_st
structure which at first view they are not compatible.
Consider ways to use a single buffer structure to reduce the required memory allocations, by either enhancing the mbuffer structure to provide the features of the first one, or by enhancing the gnutls_buffer_st to output an mbuffer.