Searched refs:crypto_data (Results 1 – 2 of 2) sorted by relevance
221 struct quic_handshake *crypto_data; in write_client_handshake() local224 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 …]
58 struct quic_handshake crypto_data[3]; member