mbedTLS
mbedtls_ecp_point::X
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_ecp_point::X
mbedtls_ecp_point::X field
Syntax
Show:
Summary
Declaration
from
ecp.h:159
mbedtls_mpi
MBEDTLS_PRIVATE
(
X
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
MBEDTLS_PRIVATE
(
X
)
;
/*!< The X coordinate of the ECP point. */
ecp.h:159
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
z
,
&
P
.
X
)
)
;
ecdh.c:113
ecdh_compute_shared_restartable()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
pr
,
&
R
.
X
,
&
grp
->
N
)
)
;
ecdsa.c:321
mbedtls_ecdsa_sign_restartable()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_mod_mpi
(
&
R
.
X
,
&
R
.
X
,
&
grp
->
N
)
)
;
ecdsa.c:573
mbedtls_ecdsa_verify_restartable()
if
(
mbedtls_mpi_cmp_mpi
(
&
R
.
X
,
r
)
!=
0
)
{
ecdsa.c:578
mbedtls_ecdsa_verify_restartable()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
K
.
X
,
kx
,
x_bytes
)
)
;
ecjpake.c:783
mbedtls_ecjpake_derive_secret()
if
(
grp
->
G
.
X
.
p
==
NULL
)
{
ecp.c:488
mbedtls_ecp_get_type()
mbedtls_mpi_init
(
&
pt
->
X
)
;
ecp.c:504
mbedtls_ecp_point_init()
mbedtls_mpi_free
(
&
(
pt
->
X
)
)
;
ecp.c:550
mbedtls_ecp_point_free()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
P
->
X
,
&
Q
->
X
)
)
;
ecp.c:620
mbedtls_ecp_copy()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
pt
->
X
,
1
)
)
;
ecp.c:642
mbedtls_ecp_set_zero()
if
(
mbedtls_mpi_cmp_mpi
(
&
P
->
X
,
&
Q
->
X
)
==
0
&&
ecp.c:664
mbedtls_ecp_point_cmp()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_string
(
&
P
->
X
,
radix
,
x
)
)
;
ecp.c:680
mbedtls_ecp_point_read_string()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary_le
(
&
P
->
X
,
buf
,
plen
)
)
;
ecp.c:713
mbedtls_ecp_point_write_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
P
->
X
,
buf
+
1
,
plen
)
)
;
ecp.c:740
mbedtls_ecp_point_write_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_write_binary
(
&
P
->
X
,
buf
+
1
,
plen
)
)
;
ecp.c:750
mbedtls_ecp_point_write_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary_le
(
&
pt
->
X
,
buf
,
plen
)
)
;
ecp.c:787
mbedtls_ecp_point_read_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_set_bit
(
&
pt
->
X
,
plen
*
8
-
1
,
0
)
)
;
ecp.c:792
mbedtls_ecp_point_read_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_read_binary
(
&
pt
->
X
,
buf
+
1
,
plen
)
)
;
ecp.c:812
mbedtls_ecp_point_read_binary()
return
mbedtls_ecp_sw_derive_y
(
grp
,
&
pt
->
X
,
&
pt
->
Y
,
ecp.c:826
mbedtls_ecp_point_read_binary()
MPI_ECP_MUL
(
&
pt
->
X
,
&
pt
->
X
,
&
T
)
;
/* X <- X * T = X / Z^2 */
ecp.c:1336
ecp_normalize_jac()
MPI_ECP_MUL
(
&
T
[
i
]
->
X
,
&
T
[
i
]
->
X
,
&
t
)
;
ecp.c:1425
ecp_normalize_jac_many()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_shrink
(
&
T
[
i
]
->
X
,
grp
->
P
.
n
)
)
;
ecp.c:1434
ecp_normalize_jac_many()
MPI_ECP_ADD
(
&
tmp
[
2
]
,
&
P
->
X
,
&
tmp
[
1
]
)
;
ecp.c:1511
ecp_double_jac()
MPI_ECP_SUB
(
&
tmp
[
3
]
,
&
P
->
X
,
&
tmp
[
1
]
)
;
ecp.c:1512
ecp_double_jac()
MPI_ECP_SQR
(
&
tmp
[
1
]
,
&
P
->
X
)
;
ecp.c:1517
ecp_double_jac()
MPI_ECP_MUL
(
&
tmp
[
1
]
,
&
P
->
X
,
&
tmp
[
2
]
)
;
ecp.c:1533
ecp_double_jac()
MPI_ECP_MOV
(
&
R
->
X
,
&
tmp
[
2
]
)
;
ecp.c:1555
ecp_double_jac()
mbedtls_mpi
*
const
X
=
&
R
->
X
;
ecp.c:1607
ecp_add_mixed()
MPI_ECP_MUL
(
&
tmp
[
0
]
,
&
tmp
[
0
]
,
&
Q
->
X
)
;
ecp.c:1635
ecp_add_mixed()
MPI_ECP_SUB
(
&
tmp
[
0
]
,
&
tmp
[
0
]
,
&
P
->
X
)
;
ecp.c:1637
ecp_add_mixed()
MPI_ECP_MUL
(
&
tmp
[
2
]
,
&
tmp
[
2
]
,
&
P
->
X
)
;
ecp.c:1655
ecp_add_mixed()
MPI_ECP_MUL
(
&
pt
->
X
,
&
pt
->
X
,
&
l
)
;
ecp.c:1712
ecp_randomize_jac()
MPI_ECP_COND_ASSIGN
(
&
R
->
X
,
&
T
[
j
]
.
X
,
j
==
ii
)
;
ecp.c:2027
ecp_select_comb()
MPI_ECP_MUL
(
&
P
->
X
,
&
P
->
X
,
&
P
->
Z
)
;
ecp.c:2442
ecp_normalize_mxz()
MPI_ECP_MUL
(
&
P
->
X
,
&
P
->
X
,
&
l
)
;
ecp.c:2477
ecp_randomize_mxz()
MPI_ECP_ADD
(
&
T
[
0
]
,
&
P
->
X
,
&
P
->
Z
)
;
/* Pp := PX + PZ */
ecp.c:2522
ecp_double_add_mxz()
MPI_ECP_SUB
(
&
T
[
1
]
,
&
P
->
X
,
&
P
->
Z
)
;
/* Pm := PX - PZ */
ecp.c:2523
ecp_double_add_mxz()
MPI_ECP_ADD
(
&
T
[
2
]
,
&
Q
->
X
,
&
Q
->
Z
)
;
/* Qp := QX + XZ */
ecp.c:2524
ecp_double_add_mxz()
MPI_ECP_SUB
(
&
T
[
3
]
,
&
Q
->
X
,
&
Q
->
Z
)
;
/* Qm := QX - QZ */
ecp.c:2525
ecp_double_add_mxz()
MPI_ECP_MUL
(
&
R
->
X
,
&
T
[
0
]
,
&
T
[
1
]
)
;
/* Pp^2 * Pm^2 */
ecp.c:2530
ecp_double_add_mxz()
MPI_ECP_ADD
(
&
S
->
X
,
&
T
[
3
]
,
&
T
[
2
]
)
;
/* Qm*Pp + Qp*Pm */
ecp.c:2534
ecp_double_add_mxz()
MPI_ECP_SQR
(
&
S
->
X
,
&
S
->
X
)
;
/* (Qm*Pp + Qp*Pm)^2 */
ecp.c:2535
ecp_double_add_mxz()
MPI_ECP_MOV
(
&
PX
,
&
P
->
X
)
;
ecp.c:2571
ecp_mul_mxz()
MPI_ECP_LSET
(
&
R
->
X
,
1
)
;
ecp.c:2575
ecp_mul_mxz()
MOD_ADD
(
&
RP
.
X
)
;
ecp.c:2580
ecp_mul_mxz()
MPI_ECP_COND_SWAP
(
&
R
->
X
,
&
RP
.
X
,
b
)
;
ecp.c:2596
ecp_mul_mxz()
MPI_ECP_COND_SWAP
(
&
R
->
X
,
&
RP
.
X
,
b
)
;
ecp.c:2599
ecp_mul_mxz()
if
(
mbedtls_mpi_cmp_int
(
&
pt
->
X
,
0
)
<
0
||
ecp.c:2750
ecp_check_pubkey_sw()
mbedtls_mpi_cmp_mpi
(
&
pt
->
X
,
&
grp
->
P
)
>=
0
||
ecp.c:2752
ecp_check_pubkey_sw()
MBEDTLS_MPI_CHK
(
ecp_sw_rhs
(
grp
,
&
RHS
,
&
pt
->
X
)
)
;
ecp.c:2764
ecp_check_pubkey_sw()
if
(
mbedtls_mpi_size
(
&
pt
->
X
)
>
(
grp
->
nbits
+
7
)
/
8
)
{
ecp.c:3031
ecp_check_pubkey_mx()
if
(
mbedtls_mpi_cmp_int
(
&
pt
->
X
,
0
)
<
0
)
{
ecp.c:3038
ecp_check_pubkey_mx()
return
ecp_check_bad_points_mx
(
&
pt
->
X
,
&
grp
->
P
,
grp
->
id
)
;
ecp.c:3042
ecp_check_pubkey_mx()
mbedtls_mpi_cmp_mpi
(
&
pub
->
Q
.
X
,
&
prv
->
Q
.
X
)
||
ecp.c:3426
mbedtls_ecp_check_pub_priv()
if
(
mbedtls_mpi_cmp_mpi
(
&
Q
.
X
,
&
prv
->
Q
.
X
)
||
ecp.c:3441
mbedtls_ecp_check_pub_priv()
ecp_mpi_load
(
&
grp
->
G
.
X
,
gx
,
gxlen
)
;
ecp_curves.c:4530
ecp_group_load()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
grp
->
G
.
X
,
9
)
)
;
ecp_curves.c:4642
ecp_use_curve25519()
mbedtls_mpi_read_binary
(
&
grp
->
G
.
X
,
p
+
1
,
len
-
1
)
!=
0
||
pkparse.c:231
pk_group_from_specified()
mbedtls_mpi_cmp_mpi
(
&
grp
->
G
.
X
,
&
ref
.
G
.
X
)
==
0
&&
pkparse.c:279
pk_group_id_from_group()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ecp_point::X
is read by 2 functions:
All items filtered out
mbedtls_ecp_point::X
mbedtls_ecp_get_type()
mbedtls_ecp_point_free()
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