mbedTLS
mbedtls_ecp_point::Z
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (2/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::Z
mbedtls_ecp_point::Z field
Syntax
Show:
Summary
Declaration
from
ecp.h:161
mbedtls_mpi
MBEDTLS_PRIVATE
(
Z
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_mpi
MBEDTLS_PRIVATE
(
Z
)
;
/*!< The Z coordinate of the ECP point. */
ecp.h:161
mbedtls_mpi_init
(
&
pt
->
Z
)
;
ecp.c:506
mbedtls_ecp_point_init()
mbedtls_mpi_free
(
&
(
pt
->
Z
)
)
;
ecp.c:552
mbedtls_ecp_point_free()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_copy
(
&
P
->
Z
,
&
Q
->
Z
)
)
;
ecp.c:622
mbedtls_ecp_copy()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
pt
->
Z
,
0
)
)
;
ecp.c:644
mbedtls_ecp_set_zero()
return
mbedtls_mpi_cmp_int
(
&
pt
->
Z
,
0
)
==
0
;
ecp.c:655
mbedtls_ecp_is_zero()
mbedtls_mpi_cmp_mpi
(
&
P
->
Z
,
&
Q
->
Z
)
==
0
)
{
ecp.c:666
mbedtls_ecp_point_cmp()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
P
->
Z
,
1
)
)
;
ecp.c:682
mbedtls_ecp_point_read_string()
if
(
mbedtls_mpi_cmp_int
(
&
P
->
Z
,
0
)
==
0
)
{
ecp.c:721
mbedtls_ecp_point_write_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
pt
->
Z
,
1
)
)
;
ecp.c:795
mbedtls_ecp_point_read_binary()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
pt
->
Z
,
1
)
)
;
ecp.c:813
mbedtls_ecp_point_read_binary()
if
(
MPI_ECP_CMP_INT
(
&
pt
->
Z
,
0
)
==
0
)
{
ecp.c:1316
ecp_normalize_jac()
MPI_ECP_INV
(
&
T
,
&
pt
->
Z
)
;
/* T <- 1 / Z */
ecp.c:1333
ecp_normalize_jac()
MPI_ECP_LSET
(
&
pt
->
Z
,
1
)
;
ecp.c:1339
ecp_normalize_jac()
MPI_ECP_MOV
(
&
c
[
0
]
,
&
T
[
0
]
->
Z
)
;
ecp.c:1391
ecp_normalize_jac_many()
MPI_ECP_MUL
(
&
c
[
i
]
,
&
c
[
i
-
1
]
,
&
T
[
i
]
->
Z
)
;
ecp.c:1393
ecp_normalize_jac_many()
MPI_ECP_MUL
(
&
c
[
i
-
1
]
,
&
c
[
i
]
,
&
T
[
i
]
->
Z
)
;
ecp.c:1417
ecp_normalize_jac_many()
MPI_ECP_LSET
(
&
T
[
i
]
->
Z
,
1
)
;
ecp.c:1437
ecp_normalize_jac_many()
MPI_ECP_SQR
(
&
tmp
[
1
]
,
&
P
->
Z
)
;
ecp.c:1510
ecp_double_jac()
MPI_ECP_SQR
(
&
tmp
[
1
]
,
&
P
->
Z
)
;
ecp.c:1523
ecp_double_jac()
MPI_ECP_MUL
(
&
tmp
[
3
]
,
&
P
->
Y
,
&
P
->
Z
)
;
ecp.c:1551
ecp_double_jac()
MPI_ECP_MOV
(
&
R
->
Z
,
&
tmp
[
3
]
)
;
ecp.c:1557
ecp_double_jac()
mbedtls_mpi
*
const
Z
=
&
R
->
Z
;
ecp.c:1609
ecp_add_mixed()
if
(
!
MPI_ECP_VALID
(
&
Q
->
Z
)
)
{
ecp.c:1611
ecp_add_mixed()
if
(
MPI_ECP_CMP_INT
(
&
P
->
Z
,
0
)
==
0
)
{
ecp.c:1618
ecp_add_mixed()
if
(
MPI_ECP_CMP_INT
(
&
Q
->
Z
,
0
)
==
0
)
{
ecp.c:1622
ecp_add_mixed()
if
(
MPI_ECP_CMP_INT
(
&
Q
->
Z
,
1
)
!=
0
)
{
ecp.c:1629
ecp_add_mixed()
MPI_ECP_SQR
(
&
tmp
[
0
]
,
&
P
->
Z
)
;
ecp.c:1633
ecp_add_mixed()
MPI_ECP_MUL
(
&
tmp
[
1
]
,
&
tmp
[
0
]
,
&
P
->
Z
)
;
ecp.c:1634
ecp_add_mixed()
MPI_ECP_MUL
(
Z
,
&
P
->
Z
,
&
tmp
[
0
]
)
;
ecp.c:1652
ecp_add_mixed()
MPI_ECP_MUL
(
&
pt
->
Z
,
&
pt
->
Z
,
&
l
)
;
ecp.c:1705
ecp_randomize_jac()
mbedtls_mpi_free
(
&
T
[
i
]
.
Z
)
;
ecp.c:1991
ecp_precompute_comb()
MPI_ECP_LSET
(
&
R
->
Z
,
1
)
;
ecp.c:2034
ecp_select_comb()
MPI_ECP_INV
(
&
P
->
Z
,
&
P
->
Z
)
;
ecp.c:2441
ecp_normalize_mxz()
MPI_ECP_MUL
(
&
P
->
X
,
&
P
->
X
,
&
P
->
Z
)
;
ecp.c:2442
ecp_normalize_mxz()
MPI_ECP_LSET
(
&
P
->
Z
,
1
)
;
ecp.c:2443
ecp_normalize_mxz()
MPI_ECP_MUL
(
&
P
->
Z
,
&
P
->
Z
,
&
l
)
;
ecp.c:2478
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
->
Z
,
&
grp
->
A
,
&
T
[
0
]
)
;
/* A * (Pp^2 - Pm^2) */
ecp.c:2532
ecp_double_add_mxz()
MPI_ECP_ADD
(
&
R
->
Z
,
&
T
[
1
]
,
&
R
->
Z
)
;
/* [ A * (Pp^2-Pm^2) ] + Pm^2 */
ecp.c:2533
ecp_double_add_mxz()
MPI_ECP_SUB
(
&
S
->
Z
,
&
T
[
3
]
,
&
T
[
2
]
)
;
/* Qm*Pp - Qp*Pm */
ecp.c:2536
ecp_double_add_mxz()
MPI_ECP_SQR
(
&
S
->
Z
,
&
S
->
Z
)
;
/* (Qm*Pp - Qp*Pm)^2 */
ecp.c:2537
ecp_double_add_mxz()
MPI_ECP_MUL
(
&
S
->
Z
,
d
,
&
S
->
Z
)
;
/* d * ( Qm*Pp - Qp*Pm )^2 */
ecp.c:2538
ecp_double_add_mxz()
MPI_ECP_MUL
(
&
R
->
Z
,
&
T
[
0
]
,
&
R
->
Z
)
;
/* [A*(Pp^2-Pm^2)+Pm^2]*(Pp^2-Pm^2) */
ecp.c:2539
ecp_double_add_mxz()
MPI_ECP_LSET
(
&
R
->
Z
,
0
)
;
ecp.c:2576
ecp_mul_mxz()
MPI_ECP_COND_SWAP
(
&
R
->
Z
,
&
RP
.
Z
,
b
)
;
ecp.c:2597
ecp_mul_mxz()
MPI_ECP_COND_SWAP
(
&
R
->
Z
,
&
RP
.
Z
,
b
)
;
ecp.c:2600
ecp_mul_mxz()
if
(
mbedtls_mpi_cmp_int
(
&
pt
->
Z
,
1
)
!=
0
)
{
ecp.c:3061
mbedtls_ecp_check_pubkey()
mbedtls_mpi_cmp_mpi
(
&
pub
->
Q
.
Z
,
&
prv
->
Q
.
Z
)
)
{
ecp.c:3428
mbedtls_ecp_check_pub_priv()
mbedtls_mpi_cmp_mpi
(
&
Q
.
Z
,
&
prv
->
Q
.
Z
)
)
{
ecp.c:3443
mbedtls_ecp_check_pub_priv()
ecp_mpi_set1
(
&
grp
->
G
.
Z
)
;
ecp_curves.c:4532
ecp_group_load()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
grp
->
G
.
Z
,
1
)
)
;
ecp_curves.c:4643
ecp_use_curve25519()
mbedtls_mpi_lset
(
&
grp
->
G
.
Z
,
1
)
!=
0
)
{
pkparse.c:233
pk_group_from_specified()
mbedtls_mpi_cmp_mpi
(
&
grp
->
G
.
Z
,
&
ref
.
G
.
Z
)
==
0
&&
pkparse.c:280
pk_group_id_from_group()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ecp_point::Z
is read by 1 function:
All items filtered out
mbedtls_ecp_point::Z
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