mbed TLS Library
MBEDTLS_SSL_CHK_BUF_PTR
is only used within mbed TLS Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
mbed TLS Library
MBEDTLS_SSL_CHK_BUF_PTR
MBEDTLS_SSL_CHK_BUF_PTR macro
This macro checks if the remaining size in a buffer is greater or equal than a needed space. If it is not the case, it returns an SSL_BUFFER_TOO_SMALL error.
Syntax
Show:
Summary
Declaration
from
ssl_internal.h:337
#define
MBEDTLS_SSL_CHK_BUF_PTR
(
cur
,
end
,
need
)
\
do
{
\
if
(
mbedtls_ssl_chk_buf_ptr
(
(
cur
)
,
(
end
)
,
(
need
)
)
!=
0
)
\
{
\
return
MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL
;
\
}
\
}
while
(
0
)
Arguments
Argument
Description
cur
Pointer to the current position in the buffer.
end
Pointer to one past the end of the buffer.
need
Needed space in bytes.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out