mbedTLS
psa_pake_operation_s::data
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
psa_pake_operation_s::data
psa_pake_operation_s::data field
Syntax
Show:
Summary
Declaration
from
crypto_extra.h:1868
union
{
psa_driver_pake_context_t
MBEDTLS_PRIVATE
(
ctx
)
;
psa_crypto_driver_pake_inputs_t
MBEDTLS_PRIVATE
(
inputs
)
;
}
MBEDTLS_PRIVATE
(
data
;
Examples
References
from
examples
Code
Location
Referrer
}
MBEDTLS_PRIVATE
(
data
)
;
crypto_extra.h:1871
memset
(
&
operation
->
data
.
inputs
,
0
,
sizeof
(
operation
->
data
.
inputs
)
)
;
psa_crypto.c:8482
psa_pake_setup()
operation
->
data
.
inputs
.
cipher_suite
=
*
cipher_suite
;
psa_crypto.c:8487
psa_pake_setup()
operation
->
data
.
inputs
.
password
=
mbedtls_calloc
(
1
,
slot
->
key
.
bytes
)
;
psa_crypto.c:8540
psa_pake_set_password_key()
if
(
operation
->
data
.
inputs
.
password
==
NULL
)
{
psa_crypto.c:8541
psa_pake_set_password_key()
memcpy
(
operation
->
data
.
inputs
.
password
,
slot
->
key
.
data
,
slot
->
key
.
bytes
)
;
psa_crypto.c:8546
psa_pake_set_password_key()
operation
->
data
.
inputs
.
password_len
=
slot
->
key
.
bytes
;
psa_crypto.c:8547
psa_pake_set_password_key()
operation
->
data
.
inputs
.
attributes
=
slot
->
attr
;
psa_crypto.c:8548
psa_pake_set_password_key()
if
(
operation
->
data
.
inputs
.
user_len
!=
0
)
{
psa_crypto.c:8576
psa_pake_set_user()
operation
->
data
.
inputs
.
user
=
mbedtls_calloc
(
1
,
user_id_len
)
;
psa_crypto.c:8581
psa_pake_set_user()
if
(
operation
->
data
.
inputs
.
user
==
NULL
)
{
psa_crypto.c:8582
psa_pake_set_user()
memcpy
(
operation
->
data
.
inputs
.
user
,
user_id
,
user_id_len
)
;
psa_crypto.c:8589
psa_pake_set_user()
operation
->
data
.
inputs
.
user_len
=
user_id_len
;
psa_crypto.c:8590
psa_pake_set_user()
if
(
operation
->
data
.
inputs
.
peer_len
!=
0
)
{
psa_crypto.c:8620
psa_pake_set_peer()
operation
->
data
.
inputs
.
peer
=
mbedtls_calloc
(
1
,
peer_id_len
)
;
psa_crypto.c:8625
psa_pake_set_peer()
if
(
operation
->
data
.
inputs
.
peer
==
NULL
)
{
psa_crypto.c:8626
psa_pake_set_peer()
memcpy
(
operation
->
data
.
inputs
.
peer
,
peer_id
,
peer_id_len
)
;
psa_crypto.c:8633
psa_pake_set_peer()
operation
->
data
.
inputs
.
peer_len
=
peer_id_len
;
psa_crypto.c:8634
psa_pake_set_peer()
psa_crypto_driver_pake_inputs_t
inputs
=
operation
->
data
.
inputs
;
psa_crypto.c:8711
psa_pake_complete_inputs()
mbedtls_platform_zeroize
(
&
operation
->
data
,
sizeof
(
operation
->
data
)
)
;
psa_crypto.c:8724
psa_pake_complete_inputs()
if
(
operation
->
data
.
inputs
.
password
!=
NULL
)
{
psa_crypto.c:9038
psa_pake_abort()
mbedtls_zeroize_and_free
(
operation
->
data
.
inputs
.
password
,
psa_crypto.c:9039
psa_pake_abort()
operation
->
data
.
inputs
.
password_len
)
;
psa_crypto.c:9040
psa_pake_abort()
if
(
operation
->
data
.
inputs
.
user
!=
NULL
)
{
psa_crypto.c:9042
psa_pake_abort()
mbedtls_free
(
operation
->
data
.
inputs
.
user
)
;
psa_crypto.c:9043
psa_pake_abort()
if
(
operation
->
data
.
inputs
.
peer
!=
NULL
)
{
psa_crypto.c:9045
psa_pake_abort()
mbedtls_free
(
operation
->
data
.
inputs
.
peer
)
;
psa_crypto.c:9046
psa_pake_abort()
status
=
mbedtls_psa_pake_setup
(
&
operation
->
data
.
ctx
.
mbedtls_ctx
,
psa_crypto_driver_wrappers.h:2769
psa_driver_wrapper_pake_setup()
return
(
mbedtls_psa_pake_output
(
&
operation
->
data
.
ctx
.
mbedtls_ctx
,
step
,
psa_crypto_driver_wrappers.h:2794
psa_driver_wrapper_pake_output()
return
(
mbedtls_psa_pake_input
(
&
operation
->
data
.
ctx
.
mbedtls_ctx
,
psa_crypto_driver_wrappers.h:2825
psa_driver_wrapper_pake_input()
return
(
mbedtls_psa_pake_get_implicit_key
(
&
operation
->
data
.
ctx
.
mbedtls_ctx
,
psa_crypto_driver_wrappers.h:2856
psa_driver_wrapper_pake_get_implicit_key()
return
(
mbedtls_psa_pake_abort
(
&
operation
->
data
.
ctx
.
mbedtls_ctx
)
)
;
psa_crypto_driver_wrappers.h:2883
psa_driver_wrapper_pake_abort()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
psa_pake_operation_s::data
is read by 11 functions:
All items filtered out
psa_pake_operation_s::data
psa_pake_setup()
psa_pake_set_password_key()
psa_pake_set_user()
psa_pake_set_peer()
psa_pake_complete_inputs()
psa_pake_abort()
psa_driver_wrapper_pake_setup()
psa_driver_wrapper_pake_output()
psa_driver_wrapper_pake_input()
psa_driver_wrapper_pake_get_implicit_key()
psa_driver_wrapper_pake_abort()
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