mbedTLS
mbedtls_ecp_point::X
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
STM32 Libraries and Samples
mbedTLS
mbedtls_ecp_point::X
mbedtls_ecp_point::X field
The X coordinate of the ECP point.
Syntax
Show:
Summary
Declaration
from
ecp.h:126
mbedtls_mpi
X
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
X
;
/*!< The X coordinate of the ECP point. */
ecp.h:126
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
z
,
&
P
.
X
)
)
;
ecdh.c:131
ecdh_compute_shared_restartable()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
pr
,
&
R
.
X
,
&
grp
->
N
)
)
;
ecdsa.c:327
ecdsa_sign_restartable()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
R
.
X
,
&
R
.
X
,
&
grp
->
N
)
)
;
ecdsa.c:573
ecdsa_verify_restartable()
if
(
mbedtls_mpi_cmp_mpi
(
&
R
.
X
,
r
)
!=
0
)
ecdsa.c:578
ecdsa_verify_restartable()
if
(
grp
->
G
.
X
.
p
==
NULL
)
ecp.c:527
ecp_get_type()
mbedtls_mpi_init
(
&
pt
->
X
)
;
ecp.c:543
mbedtls_ecp_point_init()
mbedtls_mpi_free
(
&
(
pt
->
X
)
)
;
ecp.c:592
mbedtls_ecp_point_free()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
P
->
X
,
&
Q
->
X
)
)
;
ecp.c:648
mbedtls_ecp_copy()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
pt
->
X
,
1
)
)
;
ecp.c:675
mbedtls_ecp_set_zero()
if
(
mbedtls_mpi_cmp_mpi
(
&
P
->
X
,
&
Q
->
X
)
==
0
&&
ecp.c:702
mbedtls_ecp_point_cmp()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_string
(
&
P
->
X
,
radix
,
x
)
)
;
ecp.c:723
mbedtls_ecp_point_read_string()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
P
->
X
,
buf
+
1
,
plen
)
)
;
ecp.c:772
mbedtls_ecp_point_write_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
P
->
X
,
buf
+
1
,
plen
)
)
;
ecp.c:783
mbedtls_ecp_point_write_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary
(
&
pt
->
X
,
buf
+
1
,
plen
)
)
;
ecp.c:822
mbedtls_ecp_point_read_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
pt
->
X
,
&
pt
->
X
,
&
ZZi
)
)
;
MOD_MUL
(
pt
->
X
)
;
ecp.c:1106
ecp_normalize_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
T
[
i
]
->
X
,
&
T
[
i
]
->
X
,
&
ZZi
)
)
;
MOD_MUL
(
T
[
i
]
->
X
)
;
ecp.c:1194
ecp_normalize_jac_many()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_shrink
(
&
T
[
i
]
->
X
,
grp
->
P
.
n
)
)
;
ecp.c:1204
ecp_normalize_jac_many()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_add_mpi
(
&
T
,
&
P
->
X
,
&
S
)
)
;
MOD_ADD
(
T
)
;
ecp.c:1283
ecp_double_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_mpi
(
&
U
,
&
P
->
X
,
&
S
)
)
;
MOD_SUB
(
U
)
;
ecp.c:1284
ecp_double_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
S
,
&
P
->
X
,
&
P
->
X
)
)
;
MOD_MUL
(
S
)
;
ecp.c:1291
ecp_double_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
S
,
&
P
->
X
,
&
T
)
)
;
MOD_MUL
(
S
)
;
ecp.c:1308
ecp_double_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
R
->
X
,
&
T
)
)
;
ecp.c:1329
ecp_double_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
T1
,
&
T1
,
&
Q
->
X
)
)
;
MOD_MUL
(
T1
)
;
ecp.c:1392
ecp_add_mixed()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_mpi
(
&
T1
,
&
T1
,
&
P
->
X
)
)
;
MOD_SUB
(
T1
)
;
ecp.c:1394
ecp_add_mixed()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
T3
,
&
T3
,
&
P
->
X
)
)
;
MOD_MUL
(
T3
)
;
ecp.c:1415
ecp_add_mixed()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
R
->
X
,
&
X
)
)
;
ecp.c:1425
ecp_add_mixed()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
pt
->
X
,
&
pt
->
X
,
&
ll
)
)
;
MOD_MUL
(
pt
->
X
)
;
ecp.c:1478
ecp_randomize_jac()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_safe_cond_assign
(
&
R
->
X
,
&
T
[
j
]
.
X
,
j
==
ii
)
)
;
ecp.c:1764
ecp_select_comb()
if
(
mbedtls_mpi_cmp_int
(
&
pt
->
X
,
0
)
<
0
||
ecp.c:2412
ecp_check_pubkey_sw()
mbedtls_mpi_cmp_mpi
(
&
pt
->
X
,
&
grp
->
P
)
>=
0
||
ecp.c:2414
ecp_check_pubkey_sw()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
RHS
,
&
pt
->
X
,
&
pt
->
X
)
)
;
MOD_MUL
(
RHS
)
;
ecp.c:2425
ecp_check_pubkey_sw()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mul_mpi
(
&
RHS
,
&
RHS
,
&
pt
->
X
)
)
;
MOD_MUL
(
RHS
)
;
ecp.c:2437
ecp_check_pubkey_sw()
mbedtls_mpi_cmp_mpi
(
&
pub
->
Q
.
X
,
&
prv
->
Q
.
X
)
||
ecp.c:2829
mbedtls_ecp_check_pub_priv()
if
(
mbedtls_mpi_cmp_mpi
(
&
Q
.
X
,
&
prv
->
Q
.
X
)
||
ecp.c:2845
mbedtls_ecp_check_pub_priv()
ecp_mpi_load
(
&
grp
->
G
.
X
,
gx
,
gxlen
)
;
ecp_curves.c:598
ecp_group_load()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ecp_point::X
is read by 5 functions:
All items filtered out
mbedtls_ecp_point::X
ecp_get_type()
mbedtls_ecp_point_free()
ecp_normalize_jac()
ecp_normalize_jac_many()
ecp_randomize_jac()
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