mbedTLS
+
0
/1 examples
SourceVu will show references to
mbedtls_ecp_group::pbits
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::pbits
mbedtls_ecp_group::pbits field
The number of bits in \p P.
Syntax
Show:
Summary
Declaration
from
ecp.h:245
size_t
pbits
;
Examples
mbedtls_ecp_group::pbits
is referenced by 1 libraries and example projects:
ESP-IDF
References
from
0/1
examples
Code
Location
Referrer
size_t
pbits
;
/*!< The number of bits in \p P.*/
ecp.h:245
if
(
ctx
->
grp
.
pbits
==
0
)
{
ecdh.c:288
ecdh_make_params_internal()
if
(
ctx
->
grp
.
pbits
==
0
)
{
ecdh.c:506
ecdh_make_public_internal()
if
(
ctx
==
NULL
||
ctx
->
grp
.
pbits
==
0
)
{
ecdh.c:624
ecdh_calc_secret_internal()
*
olen
=
ctx
->
grp
.
pbits
/
8
+
(
(
ctx
->
grp
.
pbits
%
8
)
!=
0
)
;
ecdh.c:653
ecdh_calc_secret_internal()
x_bytes
=
(
ctx
->
grp
.
pbits
+
7
)
/
8
;
ecjpake.c:782
mbedtls_ecjpake_derive_secret()
grp
->
pbits
=
0
;
ecp.c:520
mbedtls_ecp_group_init()
mbedtls_mpi_bitlen
(
N
)
>
2
*
grp
->
pbits
)
{
ecp.c:1009
ecp_modp()
grp
->
pbits
=
mbedtls_mpi_bitlen
(
&
grp
->
P
)
;
ecp_curves.c:4534
ecp_group_load()
grp
->
pbits
=
mbedtls_mpi_bitlen
(
&
grp
->
P
)
;
ecp_curves.c:4633
ecp_use_curve25519()
return
ecp
->
grp
.
pbits
;
pk_wrap.c:531
eckey_get_bitlen()
grp
->
pbits
=
mbedtls_mpi_bitlen
(
&
grp
->
P
)
;
pkparse.c:164
pk_group_from_specified()
if
(
grp
->
pbits
==
ref
.
pbits
&&
grp
->
nbits
==
ref
.
nbits
&&
pkparse.c:274
pk_group_id_from_group()
byte_length
=
(
ec
->
grp
.
pbits
+
7
)
/
8
;
pkwrite.c:211
pk_write_ec_private()
curve_bytes
=
PSA_BITS_TO_BYTES
(
ecp
->
grp
.
pbits
)
;
psa_crypto_ecp.c:386
mbedtls_psa_ecdsa_sign_hash()
curve_bytes
=
PSA_BITS_TO_BYTES
(
ecp
->
grp
.
pbits
)
;
psa_crypto_ecp.c:473
mbedtls_psa_ecdsa_verify_hash()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
mbedtls_ecp_group::pbits
is written by 4 functions and is read by 10 functions:
mbedtls_ecp_group_init()
ecp_group_load()
ecp_use_curve25519()
pk_group_from_specified()
All items filtered out
mbedtls_ecp_group::pbits
ecdh_make_params_internal()
ecdh_make_public_internal()
ecdh_calc_secret_internal()
mbedtls_ecjpake_derive_secret()
ecp_modp()
eckey_get_bitlen()
pk_group_id_from_group()
pk_write_ec_private()
mbedtls_psa_ecdsa_sign_hash()
mbedtls_psa_ecdsa_verify_hash()
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