Lines Matching refs:data
242 unsigned char data[128]; in write_ssl_and_get_response() local
258 len = sizeof( data ) - 1; in write_ssl_and_get_response()
259 memset( data, 0, sizeof( data ) ); in write_ssl_and_get_response()
260 ret = mbedtls_ssl_read( ssl, data, len ); in write_ssl_and_get_response()
274 mbedtls_printf("\n%s", data); in write_ssl_and_get_response()
278 if( data[i] != '\n' ) in write_ssl_and_get_response()
281 code[ idx++ ] = data[i]; in write_ssl_and_get_response()
300 unsigned char data[128]; in write_and_get_response() local
313 len = sizeof( data ) - 1; in write_and_get_response()
314 memset( data, 0, sizeof( data ) ); in write_and_get_response()
315 ret = mbedtls_net_recv( sock_fd, data, len ); in write_and_get_response()
323 data[len] = '\0'; in write_and_get_response()
324 mbedtls_printf("\n%s", data); in write_and_get_response()
328 if( data[i] != '\n' ) in write_and_get_response()
331 code[ idx++ ] = data[i]; in write_and_get_response()