mbedTLS
+
0
/1 examples
SourceVu will show references to
mbedtls_ecp_group::P
from the following samples and libraries:
ESP-IDF
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_ecp_group::P
mbedtls_ecp_group::P field
The prime modulus of the base field.
Syntax
Show:
Summary
Declaration
from
ecp.h:235
mbedtls_mpi
P
;
Examples
mbedtls_ecp_group::P
is referenced by 1 libraries and example projects:
ESP-IDF
References
from
0/1
examples
Code
Location
Referrer
mbedtls_mpi
P
;
/*!< The prime modulus of the base field. */
ecp.h:235
mbedtls_mpi_init
(
&
grp
->
P
)
;
ecp.c:515
mbedtls_ecp_group_init()
mbedtls_mpi_free
(
&
grp
->
P
)
;
ecp.c:586
mbedtls_ecp_group_free()
plen
=
mbedtls_mpi_size
(
&
grp
->
P
)
;
ecp.c:703
mbedtls_ecp_point_write_binary()
plen
=
mbedtls_mpi_size
(
&
grp
->
P
)
;
ecp.c:779
mbedtls_ecp_point_read_binary()
return
mbedtls_mpi_mod_mpi
(
N
,
N
,
&
grp
->
P
)
;
ecp.c:1004
ecp_modp()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_add_mpi
(
N
,
N
,
&
grp
->
P
)
)
;
ecp.c:1017
ecp_modp()
while
(
mbedtls_mpi_cmp_mpi
(
N
,
&
grp
->
P
)
>=
0
)
{
ecp.c:1020
ecp_modp()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_abs
(
N
,
N
,
&
grp
->
P
)
)
;
ecp.c:1022
ecp_modp()
MOD_SUB
(
X
)
;
ecp.c:1085
mbedtls_mpi_sub_mod()
MOD_ADD
(
X
)
;
ecp.c:1106
mbedtls_mpi_add_mod()
MOD_ADD
(
X
)
;
ecp.c:1120
mbedtls_mpi_mul_int_mod()
MOD_SUB
(
X
)
;
ecp.c:1134
mbedtls_mpi_sub_int_mod()
MOD_ADD
(
X
)
;
ecp.c:1149
mbedtls_mpi_shift_l_mod()
if
(
mbedtls_mpi_get_bit
(
&
grp
->
P
,
0
)
!=
1
||
ecp.c:1265
mbedtls_ecp_sw_derive_y()
mbedtls_mpi_get_bit
(
&
grp
->
P
,
1
)
!=
1
)
{
ecp.c:1266
mbedtls_ecp_sw_derive_y()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_add_int
(
&
exp
,
&
grp
->
P
,
1
)
)
;
ecp.c:1279
mbedtls_ecp_sw_derive_y()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_exp_mod
(
Y
,
Y
/*y^2*/
,
&
exp
,
&
grp
->
P
,
NULL
)
)
;
ecp.c:1282
mbedtls_ecp_sw_derive_y()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_mpi
(
Y
,
&
grp
->
P
,
Y
)
)
;
ecp.c:1290
mbedtls_ecp_sw_derive_y()
MPI_ECP_INV
(
&
T
,
&
pt
->
Z
)
;
/* T <- 1 / Z */
ecp.c:1333
ecp_normalize_jac()
MPI_ECP_INV
(
&
c
[
T_size
-
1
]
,
&
c
[
T_size
-
1
]
)
;
ecp.c:1399
ecp_normalize_jac_many()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_shrink
(
&
T
[
i
]
->
X
,
grp
->
P
.
n
)
)
;
ecp.c:1434
ecp_normalize_jac_many()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_shrink
(
&
T
[
i
]
->
Y
,
grp
->
P
.
n
)
)
;
ecp.c:1435
ecp_normalize_jac_many()
MPI_ECP_COND_NEG
(
&
Q
->
Y
,
inv
)
;
ecp.c:1466
ecp_safe_invert_jac()
MPI_ECP_RAND
(
&
l
)
;
ecp.c:1702
ecp_randomize_jac()
MPI_ECP_INV
(
&
P
->
Z
,
&
P
->
Z
)
;
ecp.c:2441
ecp_normalize_mxz()
MPI_ECP_RAND
(
&
l
)
;
ecp.c:2475
ecp_randomize_mxz()
MOD_ADD
(
&
RP
.
X
)
;
ecp.c:2580
ecp_mul_mxz()
mbedtls_mpi_cmp_mpi
(
&
pt
->
X
,
&
grp
->
P
)
>=
0
||
ecp.c:2752
ecp_check_pubkey_sw()
mbedtls_mpi_cmp_mpi
(
&
pt
->
Y
,
&
grp
->
P
)
>=
0
)
{
ecp.c:2753
ecp_check_pubkey_sw()
MPI_ECP_NEG
(
&
R
->
Y
)
;
ecp.c:2804
mbedtls_ecp_mul_shortcuts()
return
ecp_check_bad_points_mx
(
&
pt
->
X
,
&
grp
->
P
,
grp
->
id
)
;
ecp.c:3042
ecp_check_pubkey_mx()
ecp_mpi_load
(
&
grp
->
P
,
p
,
plen
)
;
ecp_curves.c:4523
ecp_group_load()
grp
->
pbits
=
mbedtls_mpi_bitlen
(
&
grp
->
P
)
;
ecp_curves.c:4534
ecp_group_load()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_lset
(
&
grp
->
P
,
1
)
)
;
ecp_curves.c:4630
ecp_use_curve25519()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_shift_l
(
&
grp
->
P
,
255
)
)
;
ecp_curves.c:4631
ecp_use_curve25519()
MBEDTLS_MPI_CHK
(
mbedtls_mpi_sub_int
(
&
grp
->
P
,
&
grp
->
P
,
19
)
)
;
ecp_curves.c:4632
ecp_use_curve25519()
grp
->
pbits
=
mbedtls_mpi_bitlen
(
&
grp
->
P
)
;
ecp_curves.c:4633
ecp_use_curve25519()
if
(
(
ret
=
mbedtls_asn1_get_mpi
(
&
p
,
end_field
,
&
grp
->
P
)
)
!=
0
)
{
pkparse.c:160
pk_group_from_specified()
grp
->
pbits
=
mbedtls_mpi_bitlen
(
&
grp
->
P
)
;
pkparse.c:164
pk_group_from_specified()
len
!=
mbedtls_mpi_size
(
&
grp
->
P
)
+
1
||
pkparse.c:230
pk_group_from_specified()
mbedtls_mpi_cmp_mpi
(
&
grp
->
P
,
&
ref
.
P
)
==
0
&&
pkparse.c:275
pk_group_id_from_group()
mbedtls_mpi_free
(
&
grp
.
P
)
;
pkparse.c:325
pk_ecc_group_id_from_specified()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
mbedtls_ecp_group::P
is read by 1 function:
All items filtered out
mbedtls_ecp_group::P
ecp_normalize_jac_many()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out