D | ssl_misc.h | 504 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument 506 return (cur > end) || (need > (size_t) (end - cur)); in mbedtls_ssl_chk_buf_ptr() 512 size_t need; member 516 const uint8_t *cur, const uint8_t *end, size_t need); 523 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument 525 if ((cur > end) || (need > (size_t) (end - cur))) { in mbedtls_ssl_chk_buf_ptr() 526 mbedtls_ssl_set_chk_buf_ptr_fail_args(cur, end, need); in mbedtls_ssl_chk_buf_ptr() 543 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ argument 545 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \ 565 #define MBEDTLS_SSL_CHK_BUF_READ_PTR(cur, end, need) \ argument [all …]
|