D | ssl_misc.h | 490 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument 492 return (cur > end) || (need > (size_t) (end - cur)); in mbedtls_ssl_chk_buf_ptr() 498 size_t need; member 502 const uint8_t *cur, const uint8_t *end, size_t need); 509 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument 511 if ((cur > end) || (need > (size_t) (end - cur))) { in mbedtls_ssl_chk_buf_ptr() 512 mbedtls_ssl_set_chk_buf_ptr_fail_args(cur, end, need); in mbedtls_ssl_chk_buf_ptr() 529 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ argument 531 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \ 551 #define MBEDTLS_SSL_CHK_BUF_READ_PTR(cur, end, need) \ argument [all …]
|