mbedTLS
mbedtls_pk_info_t::ctx_alloc_func
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_pk_info_t::ctx_alloc_func
mbedtls_pk_info_t::ctx_alloc_func field
Allocate a new context
Syntax
Show:
Summary
Declaration
from
pk_wrap.h:80
void
*
(
*
ctx_alloc_func
)
(
void
)
;
Examples
References
from
examples
Code
Location
Scope
Referrer
void
*
(
*
ctx_alloc_func
)
(
void
)
;
pk_wrap.h:80
if
(
(
info
->
ctx_alloc_func
!=
NULL
)
&&
pk.c:146
mbedtls_pk_setup()
(
(
ctx
->
pk_ctx
=
info
->
ctx_alloc_func
(
)
)
==
NULL
)
)
{
pk.c:147
mbedtls_pk_setup()
if
(
(
ctx
->
pk_ctx
=
info
->
ctx_alloc_func
(
)
)
==
NULL
)
{
pk.c:211
mbedtls_pk_setup_rsa_alt()
const
mbedtls_pk_info_t
mbedtls_rsa_info
=
{
pk_wrap.c:492
mbedtls_rsa_info
rsa_alloc_wrap()
.
ctx_alloc_func
=
rsa_alloc_wrap
,
pk_wrap.c:508
const
mbedtls_pk_info_t
mbedtls_eckey_info
=
{
pk_wrap.c:1113
mbedtls_eckey_info
eckey_alloc_wrap()
.
ctx_alloc_func
=
eckey_alloc_wrap
,
pk_wrap.c:1141
const
mbedtls_pk_info_t
mbedtls_eckeydh_info
=
{
pk_wrap.c:1156
mbedtls_eckeydh_info
eckey_alloc_wrap()
.
ctx_alloc_func
=
eckey_alloc_wrap
,
/* Same underlying key structure */
pk_wrap.c:1174
const
mbedtls_pk_info_t
mbedtls_ecdsa_info
=
{
pk_wrap.c:1238
mbedtls_ecdsa_info
eckey_alloc_wrap()
.
ctx_alloc_func
=
eckey_alloc_wrap
,
/* Compatible key structures */
pk_wrap.c:1266
const
mbedtls_pk_info_t
mbedtls_rsa_alt_info
=
{
pk_wrap.c:1382
mbedtls_rsa_alt_info
rsa_alt_alloc_wrap()
.
ctx_alloc_func
=
rsa_alt_alloc_wrap
,
pk_wrap.c:1402
Call Tree
from
examples
mbedtls_pk_info_t::ctx_alloc_func
is called by 2 functions:
mbedtls_pk_setup()
mbedtls_pk_setup_rsa_alt()
All items filtered out
mbedtls_pk_info_t::ctx_alloc_func
All items filtered out
Data Use
from
examples
mbedtls_pk_info_t::ctx_alloc_func
is read by 1 function:
All items filtered out
mbedtls_pk_info_t::ctx_alloc_func
mbedtls_pk_setup()
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
mbedtls_pk_info_t::ctx_alloc_func
implements 3 functionss:
rsa_alloc_wrap()
eckey_alloc_wrap()
rsa_alt_alloc_wrap()
All items filtered out
mbedtls_pk_info_t::ctx_alloc_func
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out