mbedTLS
ALLOC
is only used within mbedTLS.
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
ESP-IDF Framework and Examples
mbedTLS
ALLOC
ALLOC macro
Syntax
Show:
Summary
Declaration
from
md.c:409
#define
ALLOC
(
type
)
\
do
{
\
ctx
->
md_ctx
=
mbedtls_calloc
(
1
,
sizeof
(
mbedtls_
##
type
##
_context
)
)
;
\
if
(
ctx
->
md_ctx
==
NULL
)
\
return
MBEDTLS_ERR_MD_ALLOC_FAILED
;
\
mbedtls_
##
type
##
_init
(
ctx
->
md_ctx
)
;
\
}
\
while
(
0
)
Arguments
Argument
type
Examples
References
from
examples
Code
Location
#define
ALLOC
(
type
)
\
md.c:409
#undef
ALLOC
md.c:508
ALLOC
(
md5
)
;
md.c:451
ALLOC
(
sha1
)
;
md.c:461
ALLOC
(
sha256
)
;
md.c:466
ALLOC
(
sha256
)
;
md.c:471
ALLOC
(
sha512
)
;
md.c:476
ALLOC
(
sha512
)
;
md.c:481
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