mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-23 13:38:42 +00:00
This commit adds a macro for buffer bounds checks in the SSL module. It takes the buffer's current and end position as the first argument(s), followed by the needed space; if the available space is too small, it returns an SSL_BUFFER_TOO_SMALL error. Signed-off-by: Ronald Cron <ronald.cron@arm.com>