mbedTLS
mbedtls_pk_context::pk_info
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_context::pk_info
mbedtls_pk_context::pk_info field
Syntax
Show:
Summary
Declaration
from
pk.h:221
const
mbedtls_pk_info_t
*
MBEDTLS_PRIVATE
(
pk_info
;
Examples
References
from
examples
Code
Location
Referrer
const
mbedtls_pk_info_t
*
MBEDTLS_PRIVATE
(
pk_info
)
;
/**< Public key information */
pk.h:221
ctx
->
pk_info
=
NULL
;
pk.c:47
mbedtls_pk_init()
if
(
(
ctx
->
pk_info
!=
NULL
)
&&
(
ctx
->
pk_info
->
ctx_free_func
!=
NULL
)
)
{
pk.c:69
mbedtls_pk_free()
ctx
->
pk_info
->
ctx_free_func
(
ctx
->
pk_ctx
)
;
pk.c:70
mbedtls_pk_free()
if
(
info
==
NULL
||
ctx
->
pk_info
!=
NULL
)
{
pk.c:142
mbedtls_pk_setup()
ctx
->
pk_info
=
info
;
pk.c:151
mbedtls_pk_setup()
if
(
ctx
->
pk_info
!=
NULL
)
{
pk.c:207
mbedtls_pk_setup_rsa_alt()
ctx
->
pk_info
=
info
;
pk.c:215
mbedtls_pk_setup_rsa_alt()
if
(
ctx
==
NULL
||
ctx
->
pk_info
==
NULL
)
{
pk.c:236
mbedtls_pk_can_do()
return
ctx
->
pk_info
->
can_do
(
type
)
;
pk.c:240
mbedtls_pk_can_do()
if
(
ctx
->
pk_info
==
NULL
||
pk.c:1052
mbedtls_pk_verify_restartable()
if
(
ctx
->
pk_info
->
verify_func
==
NULL
)
{
pk.c:1081
mbedtls_pk_verify_restartable()
return
ctx
->
pk_info
->
verify_func
(
ctx
,
md_alg
,
hash
,
hash_len
,
pk.c:1085
mbedtls_pk_verify_restartable()
if
(
ctx
->
pk_info
==
NULL
)
{
pk.c:1112
mbedtls_pk_verify_ext()
if
(
ctx
->
pk_info
==
NULL
||
pk_hashlen_helper
(
md_alg
,
&
hash_len
)
!=
0
)
{
pk.c:1244
mbedtls_pk_sign_restartable()
if
(
ctx
->
pk_info
->
sign_func
==
NULL
)
{
pk.c:1274
mbedtls_pk_sign_restartable()
return
ctx
->
pk_info
->
sign_func
(
ctx
,
md_alg
,
pk.c:1278
mbedtls_pk_sign_restartable()
if
(
ctx
->
pk_info
==
NULL
)
{
pk.c:1308
mbedtls_pk_sign_ext()
if
(
ctx
->
pk_info
==
NULL
)
{
pk.c:1383
mbedtls_pk_decrypt()
if
(
ctx
->
pk_info
->
decrypt_func
==
NULL
)
{
pk.c:1387
mbedtls_pk_decrypt()
return
ctx
->
pk_info
->
decrypt_func
(
ctx
,
input
,
ilen
,
pk.c:1391
mbedtls_pk_decrypt()
if
(
ctx
->
pk_info
==
NULL
)
{
pk.c:1403
mbedtls_pk_encrypt()
if
(
ctx
->
pk_info
->
encrypt_func
==
NULL
)
{
pk.c:1407
mbedtls_pk_encrypt()
return
ctx
->
pk_info
->
encrypt_func
(
ctx
,
input
,
ilen
,
pk.c:1411
mbedtls_pk_encrypt()
if
(
pub
->
pk_info
==
NULL
||
pk.c:1423
mbedtls_pk_check_pair()
prv
->
pk_info
==
NULL
)
{
pk.c:1424
mbedtls_pk_check_pair()
if
(
prv
->
pk_info
->
check_pair_func
==
NULL
)
{
pk.c:1432
mbedtls_pk_check_pair()
if
(
prv
->
pk_info
->
type
==
MBEDTLS_PK_RSA_ALT
)
{
pk.c:1436
mbedtls_pk_check_pair()
if
(
pub
->
pk_info
->
type
!=
MBEDTLS_PK_RSA
)
{
pk.c:1437
mbedtls_pk_check_pair()
if
(
(
prv
->
pk_info
->
type
!=
MBEDTLS_PK_OPAQUE
)
&&
pk.c:1441
mbedtls_pk_check_pair()
(
pub
->
pk_info
!=
prv
->
pk_info
)
)
{
pk.c:1442
mbedtls_pk_check_pair()
return
prv
->
pk_info
->
check_pair_func
(
(
mbedtls_pk_context
*
)
pub
,
pk.c:1447
mbedtls_pk_check_pair()
if
(
ctx
==
NULL
||
ctx
->
pk_info
==
NULL
)
{
pk.c:1459
mbedtls_pk_get_bitlen()
return
ctx
->
pk_info
->
get_bitlen
(
(
mbedtls_pk_context
*
)
ctx
)
;
pk.c:1463
mbedtls_pk_get_bitlen()
if
(
ctx
->
pk_info
==
NULL
)
{
pk.c:1471
mbedtls_pk_debug()
if
(
ctx
->
pk_info
->
debug_func
==
NULL
)
{
pk.c:1475
mbedtls_pk_debug()
ctx
->
pk_info
->
debug_func
(
(
mbedtls_pk_context
*
)
ctx
,
items
)
;
pk.c:1479
mbedtls_pk_debug()
if
(
ctx
==
NULL
||
ctx
->
pk_info
==
NULL
)
{
pk.c:1488
mbedtls_pk_get_name()
return
ctx
->
pk_info
->
name
;
pk.c:1492
mbedtls_pk_get_name()
if
(
ctx
==
NULL
||
ctx
->
pk_info
==
NULL
)
{
pk.c:1500
mbedtls_pk_get_type()
return
ctx
->
pk_info
->
type
;
pk.c:1504
mbedtls_pk_get_type()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_pk_context::pk_info
is written by 3 functions and is read by 15 functions:
mbedtls_pk_init()
mbedtls_pk_setup()
mbedtls_pk_setup_rsa_alt()
All items filtered out
mbedtls_pk_context::pk_info
mbedtls_pk_free()
mbedtls_pk_setup()
mbedtls_pk_setup_rsa_alt()
mbedtls_pk_can_do()
mbedtls_pk_verify_restartable()
mbedtls_pk_verify_ext()
mbedtls_pk_sign_restartable()
mbedtls_pk_sign_ext()
mbedtls_pk_decrypt()
mbedtls_pk_encrypt()
mbedtls_pk_check_pair()
mbedtls_pk_get_bitlen()
mbedtls_pk_debug()
mbedtls_pk_get_name()
mbedtls_pk_get_type()
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