Lines Matching defs:nb_want
2134 * If we return 0, is it guaranteed that (at least) nb_want bytes are
2138 * With stream transport (TLS) on success ssl->in_left == nb_want, but
2139 * with datagram transport (DTLS) on success ssl->in_left >= nb_want,
2145 int mbedtls_ssl_fetch_input(mbedtls_ssl_context *ssl, size_t nb_want)
2162 if (nb_want > in_buf_len - (size_t) (ssl->in_hdr - ssl->in_buf)) {
2202 ", nb_want: %" MBEDTLS_PRINTF_SIZET,
2203 ssl->in_left, nb_want));
2208 if (nb_want <= ssl->in_left) {
2296 ", nb_want: %" MBEDTLS_PRINTF_SIZET,
2297 ssl->in_left, nb_want));
2299 while (ssl->in_left < nb_want) {
2300 len = nb_want - ssl->in_left;
2316 ", nb_want: %" MBEDTLS_PRINTF_SIZET,
2317 ssl->in_left, nb_want));