Home
last modified time | relevance | path

Searched refs:crypto_data (Results 1 – 2 of 2) sorted by relevance

/external/curl/lib/vquic/
Dngtcp2.c221 struct quic_handshake *crypto_data; in write_client_handshake() local
224 crypto_data = &qs->crypto_data[level]; in write_client_handshake()
225 if(crypto_data->buf == NULL) { in write_client_handshake()
226 crypto_data->buf = malloc(4096); in write_client_handshake()
227 if(!crypto_data->buf) in write_client_handshake()
229 crypto_data->alloclen = 4096; in write_client_handshake()
234 assert(crypto_data->len + len <= crypto_data->alloclen); in write_client_handshake()
236 memcpy(&crypto_data->buf[crypto_data->len], data, len); in write_client_handshake()
237 crypto_data->len += len; in write_client_handshake()
240 qs->qconn, level, (uint8_t *)(&crypto_data->buf[crypto_data->len] - len), in write_client_handshake()
[all …]
Dngtcp2.h58 struct quic_handshake crypto_data[3]; member