mbedTLS
mbedtls_lms_public_t::params
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_lms_public_t::params
mbedtls_lms_public_t::params field
Syntax
Show:
Summary
Declaration
from
lms.h:191
mbedtls_lms_parameters_t
MBEDTLS_PRIVATE
(
params
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_lms_parameters_t
MBEDTLS_PRIVATE
(
params
)
;
lms.h:191
ctx
->
params
.
type
=
type
;
lms.c:249
mbedtls_lms_import_public_key()
if
(
key_size
!=
MBEDTLS_LMS_PUBLIC_KEY_LEN
(
ctx
->
params
.
type
)
)
{
lms.c:251
mbedtls_lms_import_public_key()
ctx
->
params
.
otstype
=
otstype
;
lms.c:260
mbedtls_lms_import_public_key()
memcpy
(
ctx
->
params
.
I_key_identifier
,
lms.c:262
mbedtls_lms_import_public_key()
MBEDTLS_LMS_M_NODE_BYTES
(
ctx
->
params
.
type
)
)
;
lms.c:266
mbedtls_lms_import_public_key()
if
(
key_size
<
MBEDTLS_LMS_PUBLIC_KEY_LEN
(
ctx
->
params
.
type
)
)
{
lms.c:277
mbedtls_lms_export_public_key()
MBEDTLS_PUT_UINT32_BE
(
ctx
->
params
.
type
,
key
,
PUBLIC_KEY_TYPE_OFFSET
)
;
lms.c:285
mbedtls_lms_export_public_key()
MBEDTLS_PUT_UINT32_BE
(
ctx
->
params
.
otstype
,
key
,
PUBLIC_KEY_OTSTYPE_OFFSET
)
;
lms.c:286
mbedtls_lms_export_public_key()
ctx
->
params
.
I_key_identifier
,
lms.c:288
mbedtls_lms_export_public_key()
MBEDTLS_LMS_M_NODE_BYTES
(
ctx
->
params
.
type
)
)
;
lms.c:292
mbedtls_lms_export_public_key()
*
key_len
=
MBEDTLS_LMS_PUBLIC_KEY_LEN
(
ctx
->
params
.
type
)
;
lms.c:295
mbedtls_lms_export_public_key()
if
(
ctx
->
params
.
type
lms.c:320
mbedtls_lms_verify()
if
(
ctx
->
params
.
otstype
lms.c:325
mbedtls_lms_verify()
if
(
sig_size
!=
MBEDTLS_LMS_SIG_LEN
(
ctx
->
params
.
type
,
ctx
->
params
.
otstype
)
)
{
lms.c:330
mbedtls_lms_verify()
if
(
sig_size
<
SIG_TYPE_OFFSET
(
ctx
->
params
.
otstype
)
+
MBEDTLS_LMS_TYPE_LEN
)
{
lms.c:343
mbedtls_lms_verify()
if
(
MBEDTLS_GET_UINT32_BE
(
sig
,
SIG_TYPE_OFFSET
(
ctx
->
params
.
otstype
)
)
lms.c:347
mbedtls_lms_verify()
if
(
q_leaf_identifier
>=
MERKLE_TREE_LEAF_NODE_AM
(
ctx
->
params
.
type
)
)
{
lms.c:355
mbedtls_lms_verify()
ctx
->
params
.
I_key_identifier
,
lms.c:360
mbedtls_lms_verify()
ots_params
.
type
=
ctx
->
params
.
otstype
;
lms.c:363
mbedtls_lms_verify()
MBEDTLS_LMOTS_SIG_LEN
(
ctx
->
params
.
otstype
)
,
lms.c:369
mbedtls_lms_verify()
&
ctx
->
params
,
lms.c:378
mbedtls_lms_verify()
MERKLE_TREE_INTERNAL_NODE_AM
(
ctx
->
params
.
type
)
+
q_leaf_identifier
,
lms.c:380
mbedtls_lms_verify()
curr_node_id
=
MERKLE_TREE_INTERNAL_NODE_AM
(
ctx
->
params
.
type
)
+
lms.c:383
mbedtls_lms_verify()
for
(
height
=
0
;
height
<
MBEDTLS_LMS_H_TREE_HEIGHT
(
ctx
->
params
.
type
)
;
lms.c:386
mbedtls_lms_verify()
left_node
=
sig
+
SIG_PATH_OFFSET
(
ctx
->
params
.
otstype
)
+
lms.c:392
mbedtls_lms_verify()
height
*
MBEDTLS_LMS_M_NODE_BYTES
(
ctx
->
params
.
type
)
;
lms.c:393
mbedtls_lms_verify()
right_node
=
sig
+
SIG_PATH_OFFSET
(
ctx
->
params
.
otstype
)
+
lms.c:397
mbedtls_lms_verify()
height
*
MBEDTLS_LMS_M_NODE_BYTES
(
ctx
->
params
.
type
)
;
lms.c:398
mbedtls_lms_verify()
create_merkle_internal_value
(
&
ctx
->
params
,
left_node
,
right_node
,
lms.c:401
mbedtls_lms_verify()
MBEDTLS_LMS_M_NODE_BYTES
(
ctx
->
params
.
type
)
)
)
{
lms.c:408
mbedtls_lms_verify()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_lms_public_t::params
is read by 3 functions:
All items filtered out
mbedtls_lms_public_t::params
mbedtls_lms_import_public_key()
mbedtls_lms_export_public_key()
mbedtls_lms_verify()
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