Searched refs:input_len (Results 1 – 3 of 3) sorted by relevance
153 const unsigned char *input, size_t input_len) in mbedtls_test_ssl_buffer_put() argument162 if ((buf->content_length + input_len) > buf->capacity) { in mbedtls_test_ssl_buffer_put()163 input_len = buf->capacity - buf->content_length; in mbedtls_test_ssl_buffer_put()167 return (input_len == 0) ? 0 : -1; in mbedtls_test_ssl_buffer_put()176 if (buf->start + buf->content_length + input_len in mbedtls_test_ssl_buffer_put()178 overflow = (buf->start + buf->content_length + input_len) in mbedtls_test_ssl_buffer_put()183 input_len - overflow); in mbedtls_test_ssl_buffer_put()184 memcpy(buf->buffer, input + input_len - overflow, overflow); in mbedtls_test_ssl_buffer_put()189 input, input_len); in mbedtls_test_ssl_buffer_put()192 buf->content_length += input_len; in mbedtls_test_ssl_buffer_put()[all …]
265 const unsigned char *input, size_t input_len);
509 size_t input_len;539 input_len = 0;543 input_len += put_ret[j];548 if (input_len == 0) {549 input_len = 1;551 TEST_CALLOC(input, input_len);559 TEST_ASSERT(output_len <= input_len);569 for (i = 0; i < input_len; i++) {
Completed in 53 milliseconds